mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 13:57:38 +00:00
text improvements, PL/CZ translation update
This commit is contained in:
26
shmup.cpp
26
shmup.cpp
@@ -485,17 +485,21 @@ struct shmup_configurer {
|
||||
}
|
||||
else if(doexiton(sym, uni)) {
|
||||
popScreen();
|
||||
if(shmup::on != shmupcfg) {
|
||||
stop_game();
|
||||
switch_game_mode(rg::shmup);
|
||||
resetScores();
|
||||
}
|
||||
if(playercfg != players) {
|
||||
stop_game();
|
||||
players = playercfg;
|
||||
resetScores();
|
||||
}
|
||||
start_game();
|
||||
auto sc = shmupcfg;
|
||||
auto pc = playercfg;
|
||||
if(shmup::on != sc || pc != players) dialog::do_if_confirmed([sc, pc] {
|
||||
if(shmup::on != sc) {
|
||||
stop_game();
|
||||
switch_game_mode(rg::shmup);
|
||||
resetScores();
|
||||
}
|
||||
if(pc != players) {
|
||||
stop_game();
|
||||
players = pc;
|
||||
resetScores();
|
||||
}
|
||||
start_game();
|
||||
});
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user