add focus string for linking levers

develop
Myk Taylor 2023-11-02 15:58:00 -07:00
parent e22988350c
commit 49dcd95a42
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

@ -376,7 +376,9 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
}
break;
case df::view_sheet_type::BUILDING:
if (auto bld = df::building::find(game->main_interface.view_sheets.viewing_bldid))
if (game->main_interface.view_sheets.linking_lever)
newFocusString = baseFocus + "/LinkingLever";
else if (auto bld = df::building::find(game->main_interface.view_sheets.viewing_bldid))
newFocusString += '/' + enum_item_key(bld->getType());
break;
default: