mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-04-24 01:41:21 +00:00
rewritten the o-key functionality to let the user choose from several applicable options
This commit is contained in:
@@ -1228,9 +1228,8 @@ EX void configure_race() {
|
||||
}
|
||||
|
||||
auto hooks1 =
|
||||
addHook(hooks_o_key, 90, [] {
|
||||
if(racing::on) { set_race_configurer(); return named_dialog(XLAT("racing menu"), raceconfigurer); }
|
||||
else return named_functionality();
|
||||
addHook(hooks_o_key, 90, [] (o_funcs& v) {
|
||||
if(racing::on) { set_race_configurer(); v.push_back(named_dialog(XLAT("racing menu"), raceconfigurer)); }
|
||||
});
|
||||
|
||||
map<string, map<eLand, int> > scoreboard;
|
||||
|
||||
Reference in New Issue
Block a user