Skip to content

Commit

Permalink
differentiate trade request screen from other diplomacy screens
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jun 26, 2023
1 parent edbb6e2 commit b5f4cef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
if (game->main_interface.diplomacy.open) {
newFocusString = baseFocus;
newFocusString += "/Diplomacy";
if (game->main_interface.diplomacy.taking_requests)
newFocusString += "/Requests";
else
newFocusString += "/Default";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.petitions.open) {
Expand Down

0 comments on commit b5f4cef

Please sign in to comment.