Confirm before debug-switching scenario

This commit is contained in:
2025-02-28 09:12:05 -06:00
committed by Celtic Minstrel
parent 92f698cc57
commit 03b9bf5abf

View File

@@ -2449,7 +2449,8 @@ void debug_launch_scen(std::string scen_name) {
} }
// Take party out of scenario they're in // Take party out of scenario they're in
if(univ.party.is_in_scenario()){ if(univ.party.is_in_scenario()){
// TODO: Confirm if(cChoiceDlog("leave-scenario",{"okay","cancel"}).show() != "okay")
return;
handle_victory(true); handle_victory(true);
} }
// Force party into the scenario, skipping the intro: // Force party into the scenario, skipping the intro: