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:
@@ -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
|
||||
|
||||
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user