Arrivals' landings cause "waiting" departures to be deleted
Closed this issue · 3 comments
erikquinn commented
For some reason, when the aircraft land and should be removed, the call of this.aircraft_remove(aircraft)
in AircraftController.js:224
also ends up partially removing the other aircraft...
erikquinn commented
AirportController.removeAircraftFromAllRunwayQueues()
is where this is breaking. For some reason that isn't obvious at all by looking at it, the aircraft that's next in the queue is getting messed up when we try to remove the arrival from the queue (which is kinda unnecessary anyway).