differentiate between choosing merchant screen and default trade screen

develop
Myk Taylor 2023-07-02 19:09:15 -07:00
parent d39440d33b
commit c660a12502
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 4 additions and 0 deletions

@ -333,6 +333,10 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
if (game->main_interface.trade.open) {
newFocusString = baseFocus;
newFocusString += "/Trade";
if (game->main_interface.trade.choosing_merchant)
newFocusString += "/ChoosingMerchant";
else
newFocusString += "/Default";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.job_details.open) {