mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Overrride WFMR-window's reject to properly reset game-state
This commit is contained in:
parent
4412a0fa91
commit
ad100a1a17
@ -237,6 +237,10 @@ class QWaitingForMissionResultWindow(QDialog):
|
||||
self.on_debriefing_update(
|
||||
self.sim_controller.debrief_current_state(Path(file[0]), force_end=True)
|
||||
)
|
||||
|
||||
def reject(self):
|
||||
self.reset_game_state()
|
||||
super().reject()
|
||||
|
||||
def reset_game_state(self):
|
||||
self.sim_controller.set_game(self.game)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user