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

Last change on this file since 344 was 325, checked in by alloc, 6 years ago

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

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