Changed: Preserve icon text case as is

fix-media-player
Nimetu 5 years ago
parent 586e49282f
commit 94873c3d3f

@ -271,7 +271,6 @@ void CItemSheet::build(const NLGEORGES::UFormElm &item)
string IconText; string IconText;
if(!item.getValueByName (IconText, "3d.text overlay")) if(!item.getValueByName (IconText, "3d.text overlay"))
debug("key '3d.text overlay' not found."); debug("key '3d.text overlay' not found.");
IconText = toLower(IconText);
IdIconText = ClientSheetsStrings.add(IconText); IdIconText = ClientSheetsStrings.add(IconText);
// See if this item can be hiden when equipped // See if this item can be hiden when equipped

@ -131,7 +131,6 @@ void COutpostBuildingSheet::build(const NLGEORGES::UFormElm &root)
string IconText; string IconText;
if(!root.getValueByName (IconText, "text overlay")) if(!root.getValueByName (IconText, "text overlay"))
debug("key 'text overlay' not found."); debug("key 'text overlay' not found.");
IconText = toLower(IconText);
IdIconText = ClientSheetsStrings.add(IconText); IdIconText = ClientSheetsStrings.add(IconText);
} }

Loading…
Cancel
Save