mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
fixed resetModes to reset firstland and number of players
This commit is contained in:
@@ -309,6 +309,7 @@ void initConfig() {
|
|||||||
|
|
||||||
void resetModes() {
|
void resetModes() {
|
||||||
popAllGames();
|
popAllGames();
|
||||||
|
firstland = laIce; vid.scfg.players = 1;
|
||||||
if(shmup::on) restartGame('s');
|
if(shmup::on) restartGame('s');
|
||||||
if(inv::on) restartGame('i');
|
if(inv::on) restartGame('i');
|
||||||
if(chaosmode) restartGame('C');
|
if(chaosmode) restartGame('C');
|
||||||
@@ -1232,4 +1233,4 @@ void selectLanguageScreen() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user