mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-01 09:20:09 +00:00
rogueviz::bringris:: fixed for empty dialogs
This commit is contained in:
parent
7a31a33c5f
commit
46f77557ae
@ -2217,7 +2217,7 @@ auto hooks =
|
||||
+ addHook(hooks_frame, 100, bringris_frame)
|
||||
+ addHook(hooks_configfile, 300, default_config)
|
||||
+ addHook(dialog::hooks_display_dialog, 100, [] () {
|
||||
if(dialog::items[0].body == "Bringris keys") {
|
||||
if(dialog::items.size() && dialog::items[0].body == "Bringris keys") {
|
||||
dialog::addBreak(200);
|
||||
if(!rotate_allowed)
|
||||
dialog::addHelp("note: rotation keys only available when necessary");
|
||||
|
Loading…
x
Reference in New Issue
Block a user