Ignore:
Timestamp:
Sep 12, 2014, 11:14:11 AM (10 years ago)
Author:
alloc
Message:

fixes

File:
1 edited

Legend:

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

    r159 r189  
    4545                }
    4646
     47                public Player GetPlayerByNameOrId (string _nameOrId, bool _ignoreColorCodes)
     48                {
     49                        string sid = GetSteamID(_nameOrId, _ignoreColorCodes);
     50                        if (sid != null)
     51                                return this[sid];
     52                        else
     53                                return null;
     54                }
     55
    4756                public string GetSteamID (string _nameOrId, bool _ignoreColorCodes)
    4857                {
Note: See TracChangeset for help on using the changeset viewer.