From 2fdc9bbb2d7194d2a2b2c65a458cc206b1ea9bd4 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 3 Mar 2024 00:01:27 +0100 Subject: [PATCH] Free parking slots when passing turn --- game/theater/controlpoint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/theater/controlpoint.py b/game/theater/controlpoint.py index b068b936..53651529 100644 --- a/game/theater/controlpoint.py +++ b/game/theater/controlpoint.py @@ -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()