source: binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs@ 238

Last change on this file since 238 was 233, checked in by alloc, 10 years ago

Fixes for 11.4

File size: 428 bytes
Line 
1using AllocsFixes.PersistentData;
2using System;
3using System.Collections.Generic;
4
5namespace AllocsFixes
6{
7 public class PlayerDataStuff
8 {
9
10 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile)
11 {
12 try {
13 PersistentContainer.Instance.Players[_cInfo.playerId, true].Update (_playerDataFile);
14 } catch (Exception e) {
15 Log.Out ("Error in GM_SavePlayerData: " + e);
16 }
17 }
18
19
20 }
21}
Note: See TracBrowser for help on using the repository browser.