1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-25 00:16:59 +00:00

racing:: fixed a bug with official races generating incorrectly

This commit is contained in:
Zeno Rogue 2019-01-17 14:19:18 +01:00
parent e42abbbf24
commit d6b79162c0

View File

@ -832,6 +832,8 @@ void track_chooser(string new_track) {
if(!racing::on) switch_game_mode(rg::racing);
track_code = new_track;
specialland = l;
// because of an earlier issue, some races in the Official track start with race_try = 1
race_try = among(l, laCaves, laWildWest, laHell, laTerracotta, laElementalWall, laDryForest, laDeadCaves) ? 1 : 0;
start_game();
popScreenAll();
});