mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Interrupt fast-forward on air defense contact.
https://github.com/dcs-liberation/dcs_liberation/issues/1681
This commit is contained in:
@@ -47,7 +47,8 @@ class AircraftSimulation:
|
||||
def tick(self) -> bool:
|
||||
interrupt_sim = False
|
||||
for flight in self.iter_flights():
|
||||
if flight.on_game_tick(self.time, TICK):
|
||||
flight.on_game_tick(self.time, TICK)
|
||||
if flight.should_halt_sim():
|
||||
interrupt_sim = True
|
||||
|
||||
# TODO: Check for SAM or A2A contact.
|
||||
|
||||
Reference in New Issue
Block a user