Ignore:
Timestamp:
Jan 18, 2018, 4:56:45 PM (7 years ago)
Author:
alloc
Message:

Common func: Rebased Animals and Hostiles to common base

File:
1 edited

Legend:

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

    r306 r313  
    2121
    2222                        result.Add ("players", new JSONNumber (GameManager.Instance.World.Players.Count));
    23                         result.Add ("hostiles", new JSONNumber (Hostiles.GetCount ()));
    24                         result.Add ("animals", new JSONNumber (Animals.GetCount ()));
     23                        result.Add ("hostiles", new JSONNumber (Hostiles.Instance.GetCount ()));
     24                        result.Add ("animals", new JSONNumber (Animals.Instance.GetCount ()));
    2525
    2626                        WriteJSON (resp, result);
Note: See TracChangeset for help on using the changeset viewer.