From 3b97f7a2ba0b4d7c4693df9db6a3d26e80a27edd 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 cherry-pick from 3863b8ef4097a7c103834a529a5b6792a9b21913 --- changelog.md | 10 ++++++++++ qt_ui/windows/QWaitingForMissionResultWindow.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 42eb199b..9bfad867 100644 --- a/changelog.md +++ b/changelog.md @@ -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. 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) )