Ignore:
Timestamp:
Apr 18, 2015, 4:27:57 PM (10 years ago)
Author:
alloc
Message:

Binary improvements

File:
1 edited

Legend:

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

    r224 r230  
    1111                {
    1212                        try {
    13                                 ClientInfo ci = CommonMappingFunctions.GetClientInfoFromClientID(_clientId);
    14                                 string steamId = CommonMappingFunctions.GetSteamID(ci);
    15                                 PersistentContainer.Instance.Players[steamId].Inventory.Update(_playerDataFile);
    16                                 Mods.CallSavePlayerData (_clientId, _playerDataFile);
     13                                ClientInfo ci = ConnectionManager.Instance.GetClient (_clientId);
     14                                PersistentContainer.Instance.Players[ci.playerId].Inventory.Update(_playerDataFile);
    1715                        } catch (Exception e) {
    1816                                Log.Out ("Error in GM_SavePlayerData: " + e);
Note: See TracChangeset for help on using the changeset viewer.