fixed errors in custom-chatcolors and hopefully fixed crash in SaveLevel

This commit is contained in:
BotoX
2016-01-17 01:32:50 +01:00
parent fc1981e234
commit a0186f4a49
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ public void OnClientPostAdminCheck(int client)
public void OnClientDisconnect(int client)
{
if(!g_Config || !g_PlayerLevels)
if(!g_Config || !g_PlayerLevels || !IsClientInGame(client))
return;
g_Config.Rewind();