- Timestamp:
- Aug 2, 2017, 6:46:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/ItemIconHandler.cs
r292 r306 152 152 153 153 private void AddIcon (string _name, Texture2D _tex, Dictionary<string, List<Color>> _tintedIcons) { 154 icons .Add (_name + "__FFFFFF", _tex.EncodeToPNG ());154 icons [_name + "__FFFFFF"] = _tex.EncodeToPNG (); 155 155 156 156 if (_tintedIcons.ContainsKey (_name)) { … … 166 166 } 167 167 168 icons .Add (tintedName, tintedTex.EncodeToPNG ());168 icons [tintedName] = tintedTex.EncodeToPNG (); 169 169 170 170 UnityEngine.Object.Destroy (tintedTex);
Note:
See TracChangeset
for help on using the changeset viewer.