Confirm before debug-switching scenario
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user