From 8a17184ccc269b82e083f232ece945a8058505bc Mon Sep 17 00:00:00 2001 From: RndName Date: Wed, 30 Nov 2022 13:09:17 +0100 Subject: [PATCH] Fix manual debrief submit not ending mission --- changelog.md | 2 ++ qt_ui/windows/QWaitingForMissionResultWindow.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 74d6506d..07ce7b54 100644 --- a/changelog.md +++ b/changelog.md @@ -46,6 +46,8 @@ Saves from 6.0.0 are compatible with 6.1.0 ## 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. diff --git a/qt_ui/windows/QWaitingForMissionResultWindow.py b/qt_ui/windows/QWaitingForMissionResultWindow.py index d8695ea9..1ef616c1 100644 --- a/qt_ui/windows/QWaitingForMissionResultWindow.py +++ b/qt_ui/windows/QWaitingForMissionResultWindow.py @@ -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) )