mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +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();
|
||||
multi::players = playercfg;
|
||||
specialland = l;
|
||||
if(!racing::on) switch_game_mode(rg::racing);
|
||||
if(official) {
|
||||
racing::on = false;
|
||||
load_official_track();
|
||||
}
|
||||
else {
|
||||
if(!racing::on) switch_game_mode(rg::racing);
|
||||
start_game();
|
||||
}
|
||||
popScreenAll();
|
||||
|
Loading…
Reference in New Issue
Block a user