- Timestamp:
- Apr 30, 2015, 1:55:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs
r232 r233 8 8 { 9 9 10 public static void GM_SavePlayerData ( int _clientId, PlayerDataFile _playerDataFile)10 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) 11 11 { 12 12 try { 13 ClientInfo ci = ConnectionManager.Instance.GetClient (_clientId); 14 PersistentContainer.Instance.Players[ci.playerId].Inventory.Update(_playerDataFile); 13 PersistentContainer.Instance.Players[_cInfo.playerId, true].Update (_playerDataFile); 15 14 } catch (Exception e) { 16 15 Log.Out ("Error in GM_SavePlayerData: " + e);
Note:
See TracChangeset
for help on using the changeset viewer.