PlayerVisibility: fix compile

This commit is contained in:
BotoX 2019-11-01 01:21:17 +01:00
parent d7fa08f44c
commit 0f0a37e359

View File

@ -264,7 +264,7 @@ public Action Timer_SpawnPost(Handle timer, int userid)
{ {
int client = GetClientOfUserId(userid); int client = GetClientOfUserId(userid);
if(!client) if(!client)
return; return Plugin_Stop;
if(!IsClientInGame(client) || !IsPlayerAlive(client)) if(!IsClientInGame(client) || !IsPlayerAlive(client))
return Plugin_Stop; return Plugin_Stop;