racing:: switch modes correctly when loading official track

This commit is contained in:
Zeno Rogue 2022-10-06 12:57:19 +02:00
parent 07ce60c3ef
commit 789770da43
1 changed files with 1 additions and 1 deletions

View File

@ -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();