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:
parent
9ecf07755d
commit
5db477390c
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user