1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-13 09:30:20 +00:00

racing:: fixed not configuring track correctly when started from CLI

This commit is contained in:
Zeno Rogue 2019-01-17 14:12:17 +01:00
parent 9ecf07755d
commit 5db477390c

View File

@ -1066,7 +1066,7 @@ void configure_race() {
auto hooks1 = auto hooks1 =
addHook(hooks_o_key, 90, [] { addHook(hooks_o_key, 90, [] {
if(racing::on) return named_dialog(XLAT("racing menu"), raceconfigurer); if(racing::on) { set_race_configurer(); return named_dialog(XLAT("racing menu"), raceconfigurer); }
else return named_functionality(); else return named_functionality();
}); });