Ignore:
Timestamp:
Sep 4, 2018, 2:33:52 PM (6 years ago)
Author:
alloc
Message:

More cleanup, allocation improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetPlayersOnline.cs

    r325 r326  
    4141                                p.Add ("totalplaytime", new JSONNumber (player != null ? player.TotalPlayTime : -1));
    4242                                p.Add ("lastonline", new JSONString (player != null ? player.LastOnline.ToString ("s") : string.Empty));
    43                                 p.Add ("ping", new JSONNumber (ci != null ? ci.ping : -1));
     43                                p.Add ("ping", new JSONNumber (ci.ping));
    4444
    4545                                players.Add (p);
Note: See TracChangeset for help on using the changeset viewer.