Ignore:
Timestamp:
Sep 4, 2018, 1:00:48 PM (6 years ago)
Author:
alloc
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs

    r233 r325  
     1using System;
    12using AllocsFixes.PersistentData;
    2 using System;
    3 using System.Collections.Generic;
    43
    5 namespace AllocsFixes
    6 {
    7         public class PlayerDataStuff
    8         {
    9 
    10                 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile)
    11                 {
     4namespace AllocsFixes {
     5        public class PlayerDataStuff {
     6                public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) {
    127                        try {
    13                                 PersistentContainer.Instance.Players[_cInfo.playerId, true].Update (_playerDataFile);
     8                                PersistentContainer.Instance.Players [_cInfo.playerId, true].Update (_playerDataFile);
    149                        } catch (Exception e) {
    1510                                Log.Out ("Error in GM_SavePlayerData: " + e);
    1611                        }
    1712                }
    18 
    19 
    2013        }
    2114}
Note: See TracChangeset for help on using the changeset viewer.