fixed minithing about disconnected client that zuff mentioned

This commit is contained in:
jenz 2023-08-14 15:56:32 +02:00
parent 487a24f278
commit 69f859f2ea

View File

@ -186,7 +186,12 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
} }
g_hDatabase = db; g_hDatabase = db;
for (int i = 1; i <= MaxClients; i++) for (int i = 1; i <= MaxClients; i++)
OnClientPostAdminCheck(i); {
if(IsValidClient(i) && !IsFakeClient(i))
{
OnClientPostAdminCheck(i);
}
}
OnMapStart(); OnMapStart();
} }