Changeset 110 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Jul 26, 2014, 6:11:57 PM (10 years ago)
- Location:
- binary-improvements/7dtd-server-fixes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/CommonMappingFunctions.cs
r107 r110 44 44 public static int GetClientID (ClientInfo _ci) 45 45 { 46 if (_ci != null) 47 return _ci.clientId; 48 else 49 return -1; 46 if (_ci != null) { 47 if (GetConnectionManager ().connectedClients.ContainsKey (_ci.clientId)) 48 return _ci.clientId; 49 } 50 return -1; 50 51 } 51 52
Note:
See TracChangeset
for help on using the changeset viewer.