Changeset 337 for binary-improvements


Ignore:
Timestamp:
Nov 21, 2018, 3:48:12 PM (6 years ago)
Author:
alloc
Message:

Fixed folders for A17 with persistent data and web map

Location:
binary-improvements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/API.cs

    r325 r337  
    44        public class API : IModApi {
    55                public void InitMod () {
    6                         ModEvents.GameAwake.RegisterHandler (GameAwake);
     6                        ModEvents.GameStartDone.RegisterHandler (GameAwake);
    77                        ModEvents.GameShutdown.RegisterHandler (GameShutdown);
    88                        ModEvents.SavePlayerData.RegisterHandler (SavePlayerData);
  • binary-improvements/MapRendering/API.cs

    r331 r337  
    55        public class API : IModApi {
    66                public void InitMod () {
    7                         ModEvents.GameAwake.RegisterHandler (GameAwake);
    87                        ModEvents.GameStartDone.RegisterHandler (GameStartDone);
    98                        ModEvents.GameShutdown.RegisterHandler (GameShutdown);
     
    1110                }
    1211
    13                 private void GameAwake () {
     12                private void GameStartDone () {
    1413                        // ReSharper disable once ObjectCreationAsStatement
    1514                        new Web ();
    1615                        LogBuffer.Init ();
    17                 }
    1816
    19                 private void GameStartDone () {
    2017                        if (ItemIconHandler.Instance != null) {
    2118                                ItemIconHandler.Instance.LoadIcons ();
Note: See TracChangeset for help on using the changeset viewer.