public static void DropClient(long socketHandle) { try { Client client; ResourcesManager.m_vClients.TryRemove(socketHandle, out client); if (client.GetLevel() != null) { ResourcesManager.LogPlayerOut(client.GetLevel()); } } catch (Exception ex) { Debugger.WriteLine("[CRS] Error dropping client: ", ex, 4); } }