racing:: fixed not selecting track_code and specialland

This commit is contained in:
Zeno Rogue 2018-11-25 23:48:18 +01:00
parent 201f3fb11d
commit c703fd50eb
1 changed files with 2 additions and 0 deletions

View File

@ -635,6 +635,8 @@ void track_chooser(string new_track) {
dialog::add_action([l, new_track] () {
stop_game();
if(!racing::on) switch_game_mode(rg::racing);
track_code = new_track;
specialland = l;
start_game();
popScreenAll();
});