- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs
r233 r325 1 using System; 1 2 using AllocsFixes.PersistentData; 2 using System;3 using System.Collections.Generic;4 3 5 namespace AllocsFixes 6 { 7 public class PlayerDataStuff 8 { 9 10 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) 11 { 4 namespace AllocsFixes { 5 public class PlayerDataStuff { 6 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) { 12 7 try { 13 PersistentContainer.Instance.Players [_cInfo.playerId, true].Update (_playerDataFile);8 PersistentContainer.Instance.Players [_cInfo.playerId, true].Update (_playerDataFile); 14 9 } catch (Exception e) { 15 10 Log.Out ("Error in GM_SavePlayerData: " + e); 16 11 } 17 12 } 18 19 20 13 } 21 14 }
Note:
See TracChangeset
for help on using the changeset viewer.