Free parking slots when passing turn

This commit is contained in:
Raffson 2024-03-03 00:01:27 +01:00
parent 61b2d7c68e
commit 2fdc9bbb2d
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -1021,6 +1021,9 @@ class ControlPoint(MissionTarget, SidcDescribable, ABC):
# clear the ATO and replan the airlifts with the correct time.
self.ground_unit_orders.process(game, game.conditions.start_time)
for parking_slot in self.parking_slots:
parking_slot.unit_id = None
runway_status = self.runway_status
if runway_status is not None:
runway_status.process_turn()