ZR: fix check for motherzombies nearby

This commit is contained in:
dogan
2024-06-21 06:55:58 +02:00
committed by zaCade
parent 73e63d4057
commit 864715a871
+1 -1
View File
@@ -136,7 +136,7 @@ bool:IsMotherZombieNearby(client)
for (new i = 0; i < MAXPLAYERS + 1; i++)
{
if (!InfectIsClientMotherZombie(i))
if (!InfectIsClientMotherZombie(i) || !IsClientInGame(i) || !IsPlayerAlive(i))
continue;
GetClientAbsOrigin(i, fVec2);