From d986c3dcdb8455474dd458cecca66fb9c436c0a4 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Thu, 4 Jan 2024 18:59:10 -0800 Subject: [PATCH] more focus strings for squad equipment page --- library/modules/Gui.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp index da4a4ca7b..3fb51f757 100644 --- a/library/modules/Gui.cpp +++ b/library/modules/Gui.cpp @@ -684,8 +684,15 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode) if (game->main_interface.squad_equipment.open) { newFocusString = baseFocus; newFocusString += "/SquadEquipment"; - if (game->main_interface.squad_equipment.customizing_equipment) + if (game->main_interface.squad_equipment.customizing_equipment) { newFocusString += "/Customizing"; + if (game->main_interface.squad_equipment.cs_setting_material) + newFocusString += "/Material"; + else if (game->main_interface.squad_equipment.cs_setting_color_pattern) + newFocusString += "/Color"; + else + newFocusString += "/Default"; + } else newFocusString += "/Default"; focusStrings.push_back(newFocusString);