Fix FF-bug when interrupt is set to "At takeoff time"

This commit is contained in:
Raffson
2025-03-30 18:23:37 +02:00
parent b671d520c9
commit 89f159edcb

View File

@@ -51,7 +51,7 @@ class Takeoff(AtDeparture):
if (
self.flight.client_count > 0
and self.settings.player_mission_interrupts_sim_at
is [StartType.COLD, StartType.WARM, StartType.RUNWAY]
in [StartType.COLD, StartType.WARM, StartType.RUNWAY]
):
logging.info(
f"Interrupting simulation because {self.flight} has players and has "