1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-08 00:01:24 +00:00

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

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

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

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 }