forgot check

This commit is contained in:
jenz 2026-07-14 14:18:00 +02:00
parent a23be2483f
commit 47460a2db4

View File

@ -287,7 +287,7 @@ public void OnBossKilled(CBoss Boss, CConfig Config, int reason)
}
for (int i = 0; i <= MaxClients; i++)
{
if (IsValidClient(i) && ZR_IsClientHuman(i))
if (IsValidClient(i) && IsPlayerAlive(i) && ZR_IsClientHuman(i))
{
bool inlist = false;
for (int j = 0; j <= MaxClients; j++)