- Timestamp:
- Sep 3, 2014, 2:35:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/AllocsLogFunctions.cs
r156 r159 29 29 ); 30 30 31 PersistentContainer.Instance.Players [steamId].SetOnline(ci);31 PersistentContainer.Instance.Players [steamId].SetOnline (ci); 32 32 PersistentData.PersistentContainer.Instance.Save (); 33 33 } catch (Exception e) { … … 36 36 } 37 37 38 public static void PlayerDisconnected (GameManager manager, int _clientId) { 38 public static void PlayerDisconnected (ConnectionManager manager, int _clientId, bool _bShutdown) 39 { 39 40 try { 40 Player p = PersistentContainer.Instance.Players.GetPlayerByClientId (_clientId);41 Player p = PersistentContainer.Instance.Players.GetPlayerByClientId (_clientId); 41 42 if (p != null) { 42 p.SetOffline ();43 p.SetOffline (); 43 44 } 44 45 PersistentData.PersistentContainer.Instance.Save ();
Note:
See TracChangeset
for help on using the changeset viewer.