Changeset 337 for binary-improvements/MapRendering/API.cs
- Timestamp:
- Nov 21, 2018, 3:48:12 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/API.cs
r331 r337 5 5 public class API : IModApi { 6 6 public void InitMod () { 7 ModEvents.GameAwake.RegisterHandler (GameAwake);8 7 ModEvents.GameStartDone.RegisterHandler (GameStartDone); 9 8 ModEvents.GameShutdown.RegisterHandler (GameShutdown); … … 11 10 } 12 11 13 private void Game Awake () {12 private void GameStartDone () { 14 13 // ReSharper disable once ObjectCreationAsStatement 15 14 new Web (); 16 15 LogBuffer.Init (); 17 }18 16 19 private void GameStartDone () {20 17 if (ItemIconHandler.Instance != null) { 21 18 ItemIconHandler.Instance.LoadIcons ();
Note:
See TracChangeset
for help on using the changeset viewer.