Reset num of arrived busses after setting new route
This commit is contained in:
parent
012c8170f9
commit
4b0e8800be
@ -49,6 +49,8 @@ public class Campaign {
|
||||
for (Vehicle vehicle : vehicles) {
|
||||
vehicle.setRoute(route);
|
||||
}
|
||||
//since a route is set, reset buses.
|
||||
this.numberOfAriivedBuses = 0;
|
||||
}
|
||||
|
||||
public District getHotelDistrict(){ return this.hotelDistrict; }
|
||||
|
Loading…
Reference in New Issue
Block a user