1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

tactic:: fixed PTM games not recorded when switching modes

This commit is contained in:
Zeno Rogue 2018-07-08 14:19:12 +02:00
parent 837ce1d58a
commit adee24229c

View File

@ -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();
}