mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-16 22:57:38 +00:00
restartGame, wrong mode, and resetModes now use constants instead of magic char names
This commit is contained in:
@@ -407,7 +407,7 @@ help += XLAT("This menu can be also used to configure keys.\n\n");
|
||||
}
|
||||
else if(doexiton(sym, uni)) {
|
||||
popScreen();
|
||||
if(shmup::on != shmupcfg) { restartGame('s'); resetScores(); }
|
||||
if(shmup::on != shmupcfg) { restartGame(rg::shmup); resetScores(); }
|
||||
else if(vid.scfg.players != players) { restartGame(); resetScores(); }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user