Merge pull request #3501 from myk002/myk_diplomacy

[Gui] differentiate trade request screen from other diplomacy screens
develop
Myk 2023-06-26 11:46:25 -07:00 committed by GitHub
commit d9d0482386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

@ -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) {