Skip to content

Commit

Permalink
Fix weapon pattern value text coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
Iridar authored Oct 21, 2023
2 parents 500254f + 41a435a commit f7c44cd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f7c44cd

Please sign in to comment.