From f9ccd2bb9ac5995e806be832c522de2e13438491 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 3 Aug 2024 10:58:43 -0500 Subject: [PATCH] fix #148 --- src/game/boe.main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game/boe.main.cpp b/src/game/boe.main.cpp index bf8e63eb..b97b1745 100644 --- a/src/game/boe.main.cpp +++ b/src/game/boe.main.cpp @@ -453,13 +453,12 @@ void handle_quit_event() { if(choice == "cancel") return; if(choice == "save") { fs::path file = nav_put_or_temp_party(); - if(!file.empty()) return; + if(file.empty()) return; save_party(file, univ); } } All_Done = true; - } - if(overall_mode == MODE_TOWN || overall_mode == MODE_OUTDOORS){ + }else if(overall_mode == MODE_TOWN || overall_mode == MODE_OUTDOORS){ std::string choice = cChoiceDlog("quit-confirm-save", {"save", "quit", "cancel"}).show(); if(choice == "cancel") return;