fixed minithing about disconnected client that zuff mentioned

This commit is contained in:
jenz 2023-08-14 15:56:32 +02:00
parent 6bd7e0fe51
commit c86da82cb7

View File

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