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
RevLine 
[325]1using System;
[144]2using AllocsFixes.PersistentData;
[93]3
[325]4namespace AllocsFixes {
5 public class PlayerDataStuff {
6 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) {
[130]7 try {
[325]8 PersistentContainer.Instance.Players [_cInfo.playerId, true].Update (_playerDataFile);
[130]9 } catch (Exception e) {
10 Log.Out ("Error in GM_SavePlayerData: " + e);
[103]11 }
[93]12 }
13 }
[325]14}
Note: See TracBrowser for help on using the repository browser.