mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-01 16:27:04 +00:00
tactic:: fixed PTM games not recorded when switching modes
This commit is contained in:
parent
837ce1d58a
commit
adee24229c
@ -752,12 +752,16 @@ namespace tactic {
|
||||
|
||||
keyhandler = [] (int sym, int uni) {
|
||||
if(uni >= 1000 && uni < 1000 + isize(landlist)) {
|
||||
stop_game();
|
||||
specialland = landlist[uni - 1000];
|
||||
restart_game(tactic::on ? rg::nothing : rg::tactic);
|
||||
}
|
||||
else if(uni == '0') {
|
||||
firstland = laIce;
|
||||
if(tactic::on) restart_game(rg::tactic);
|
||||
if(tactic::on) {
|
||||
stop_game();
|
||||
firstland = laIce;
|
||||
restart_game(rg::tactic);
|
||||
}
|
||||
else popScreen();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user