Changeset 369 for binary-improvements/MapRendering/Web/Handlers
- Timestamp:
- Nov 9, 2021, 6:28:33 PM (3 years ago)
- Location:
- binary-improvements/MapRendering/Web/Handlers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/ItemIconHandler.cs
r367 r369 77 77 78 78 try { 79 loadIconsFromFolder ( Utils.GetGameDir ("Data/ItemIcons"), tintedIcons);79 loadIconsFromFolder (GameIO.GetGameDir ("Data/ItemIcons"), tintedIcons); 80 80 } catch (Exception e) { 81 81 Log.Error ("Failed loading icons from base game"); -
binary-improvements/MapRendering/Web/Handlers/UserStatusHandler.cs
r351 r369 13 13 14 14 result.Add ("loggedin", new JSONBoolean (_user != null)); 15 result.Add ("username", new JSONString (_user != null ? _user. SteamID.ToString () : string.Empty));15 result.Add ("username", new JSONString (_user != null ? _user.UserId.ToString () : string.Empty)); 16 16 17 17 JSONArray perms = new JSONArray ();
Note:
See TracChangeset
for help on using the changeset viewer.