From 41a435a20897ac50ca8f014f4bfab3225eaca1dc Mon Sep 17 00:00:00 2001 From: Iridar Date: Sun, 22 Oct 2023 00:51:57 +0600 Subject: [PATCH] Implement Issue #880 - fix weapon pattern value text coloring --- .../Src/XComGame/Classes/UIArmory_WeaponUpgrade.uc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/X2WOTCCommunityHighlander/Src/XComGame/Classes/UIArmory_WeaponUpgrade.uc b/X2WOTCCommunityHighlander/Src/XComGame/Classes/UIArmory_WeaponUpgrade.uc index 816d66ee7..398687e78 100644 --- a/X2WOTCCommunityHighlander/Src/XComGame/Classes/UIArmory_WeaponUpgrade.uc +++ b/X2WOTCCommunityHighlander/Src/XComGame/Classes/UIArmory_WeaponUpgrade.uc @@ -747,8 +747,9 @@ simulated function UpdateCustomization(UIPanel DummyParam) // WEAPON PATTERN (VETERAN ONLY) //----------------------------------------------------------------------------------------- - GetCustomizeItem(i++).UpdateDataValue(class'UICustomize_Props'.default.m_strWeaponPattern, - class'UIUtilities_Text'.static.GetColoredText(GetWeaponPatternDisplay(UpdatedWeapon.WeaponAppearance.nmWeaponPattern), eUIState_Normal, FontSize), CustomizeWeaponPattern); + /// HL-Docs: ref:Bugfixes; issue:880 + /// Remove unnecessary text coloring from the weapon pattern value text. + GetCustomizeItem(i++).UpdateDataValue(class'UICustomize_Props'.default.m_strWeaponPattern, GetWeaponPatternDisplay(UpdatedWeapon.WeaponAppearance.nmWeaponPattern), CustomizeWeaponPattern); CustomizeList.SetPosition(CustomizationListX, CustomizationListY - CustomizeList.ShrinkToFit() - CustomizationListYPadding);