mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-22 21:46:57 +00:00
rewritten the o-key functionality to let the user choose from several applicable options
This commit is contained in:
@@ -258,9 +258,8 @@ auto sbhook = addHook(hooks_args, 100, [] {
|
||||
}
|
||||
else return 1;
|
||||
return 0;
|
||||
}) + addHook(hooks_o_key, 91, [] {
|
||||
if(in) return named_dialog(XLAT("select a puzzle"), show_menu);
|
||||
else return named_functionality();
|
||||
}) + addHook(hooks_o_key, 91, [] (o_funcs& v) {
|
||||
if(in) v.push_back(named_dialog(XLAT("select a puzzle"), show_menu));
|
||||
});
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user