Fix manual debrief submit not ending mission

cherry-pick from 3863b8ef4097a7c103834a529a5b6792a9b21913
This commit is contained in:
RndName 2022-11-30 13:09:17 +01:00
parent 6779ee96be
commit 3b97f7a2ba
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
# 6.1.0
Saves from 6.0.0 are compatible with 6.1.0
## Features/Improvements
## Fixes
* **[UI]** Fixed an issue where manual submit of mission results did not end the mission correctly.
# 6.0.0
Saves from 5.x are not compatible with 6.0.

View File

@ -238,5 +238,5 @@ class QWaitingForMissionResultWindow(QDialog):
# Stop the current waiting thread as we manually submit the results
self.wait_thread.stop()
self.on_debriefing_update(
self.sim_controller.debrief_current_state(Path(file[0], force_end=True))
self.sim_controller.debrief_current_state(Path(file[0]), force_end=True)
)