Ignore:
Timestamp:
Aug 2, 2017, 6:46:15 PM (7 years ago)
Author:
alloc
Message:

Fixes update A16.2

File:
1 edited

Legend:

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

    r279 r306  
    2424
    2525                        result.Add ("players", new JSONNumber (GameManager.Instance.World.Players.Count));
    26             result.Add ("hostiles", new JSONNumber (Hostiles.Count));
    27             result.Add ("animals", new JSONNumber (Animals.Count));
     26                        result.Add ("hostiles", new JSONNumber (Hostiles.GetCount ()));
     27                        result.Add ("animals", new JSONNumber (Animals.GetCount ()));
    2828
    2929                        result.Add ("newlogs", new JSONNumber (LogBuffer.Instance.LatestLine - latestLine));
Note: See TracChangeset for help on using the changeset viewer.