Changeset 230 for binary-improvements/7dtd-server-fixes/src/StateManager.cs
- Timestamp:
- Apr 18, 2015, 4:27:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/StateManager.cs
r224 r230 1 using AllocsFixes.NetConnections.Servers.Telnet;2 1 using System; 3 2 using System.Reflection; … … 7 6 public class StateManager 8 7 { 9 public static void Awake ( GameManager manager)8 public static void Awake () 10 9 { 11 10 try { 12 11 Log.Out ("[7dtd-server-fixes by Alloc] Version: " + Assembly.GetExecutingAssembly ().GetName ().Version); 13 14 Mods.LoadMods ();15 Mods.CallGameAwake ();16 CommandExtensions.InitCommandExtensions (manager);17 18 new Telnet ();19 12 20 13 ItemList.Instance.Init (); … … 26 19 } 27 20 28 public static void Shutdown ( GameManager manager)21 public static void Shutdown () 29 22 { 30 23 try { 31 24 Log.Out ("Server shutting down!"); 32 Mods.CallGameShutdown ();33 25 PersistentData.PersistentContainer.Instance.Save (); 34 26 } catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.