zr: fix minor bug
This commit is contained in:
@@ -301,7 +301,7 @@ stock bool:ZRCountValidClients(&zombiecount = 0, &humancount = 0, bool:alive = t
|
||||
stock bool:ZRIsClientOnTeam(client, team = -1)
|
||||
{
|
||||
// If index is invalid, then stop.
|
||||
if (!ZRIsClientValid(client))
|
||||
if (!ZRIsClientValid(client) || !IsClientInGame(client))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user