1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

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

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