mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
racing:: switch modes correctly when loading official track
This commit is contained in:
parent
07ce60c3ef
commit
789770da43
@ -941,12 +941,12 @@ void track_chooser(bool official) {
|
|||||||
stop_game();
|
stop_game();
|
||||||
multi::players = playercfg;
|
multi::players = playercfg;
|
||||||
specialland = l;
|
specialland = l;
|
||||||
|
if(!racing::on) switch_game_mode(rg::racing);
|
||||||
if(official) {
|
if(official) {
|
||||||
racing::on = false;
|
racing::on = false;
|
||||||
load_official_track();
|
load_official_track();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(!racing::on) switch_game_mode(rg::racing);
|
|
||||||
start_game();
|
start_game();
|
||||||
}
|
}
|
||||||
popScreenAll();
|
popScreenAll();
|
||||||
|
Loading…
Reference in New Issue
Block a user