pressing yendor/tactic mode in the menu now, when active, automatically disables the mode

This commit is contained in:
Zeno Rogue committed 2026-04-17 14:35:02 +02:00
1 parent a0fc2c4b40
commit 48e631b4e6
2 files changed
+4 -6

No files matched your search

+1
View File
@@ -835,6 +835,7 @@ EX void showChangeMode() {
clearMessages();
if(yendor::everwon || autocheat || unlock_all)
pushScreen(yendor::showMenu);
else if(yendor::on) restart_game(rg::yendor);
else gotoHelp(yendor::chelp);
});
#if CAP_RACING
+3 -6
View File
@@ -944,11 +944,7 @@ EX namespace tactic {
});
}
else if(uni == '0') {
if(tactic::on) {
stop_game();
firstland = laIce;
restart_game(rg::tactic);
}
if(tactic::on) restart_game(rg::tactic);
else popScreen();
}
@@ -984,7 +980,8 @@ EX namespace tactic {
EX void start() {
dialog::infix = "";
popScreenAll();
pushScreen(tactic::showMenu);
if(tactic::on) restart_game(rg::tactic);
else pushScreen(tactic::showMenu);
}
EX }