mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-08 05:16:00 +00:00
rogueviz::bringris:: fixed for empty dialogs
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user