mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Reinitialize flights upon abort
This commit is contained in:
parent
a2494e467e
commit
8d56e2d3bb
@ -237,5 +237,7 @@ class QWaitingForMissionResultWindow(QDialog):
|
||||
|
||||
def reset_game_state(self):
|
||||
self.sim_controller.set_game(self.game)
|
||||
for _, f in self.game.db.flights.objects.items():
|
||||
f.state.reinitialize(self.game.conditions.start_time)
|
||||
GameUpdateSignal.get_instance().updateGame(self.game)
|
||||
self.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user