mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-17 05:44:07 +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) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
if(uni >= 1000 && uni < 1000 + isize(landlist)) {
|
if(uni >= 1000 && uni < 1000 + isize(landlist)) {
|
||||||
|
stop_game();
|
||||||
specialland = landlist[uni - 1000];
|
specialland = landlist[uni - 1000];
|
||||||
restart_game(tactic::on ? rg::nothing : rg::tactic);
|
restart_game(tactic::on ? rg::nothing : rg::tactic);
|
||||||
}
|
}
|
||||||
else if(uni == '0') {
|
else if(uni == '0') {
|
||||||
firstland = laIce;
|
if(tactic::on) {
|
||||||
if(tactic::on) restart_game(rg::tactic);
|
stop_game();
|
||||||
|
firstland = laIce;
|
||||||
|
restart_game(rg::tactic);
|
||||||
|
}
|
||||||
else popScreen();
|
else popScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user