Turret: oops

This commit is contained in:
neon 2019-08-22 11:47:44 +02:00
parent 6df6be624d
commit c627da69a5

View File

@ -130,7 +130,7 @@ public void OnRound(Event hEvent, const char[] sEvent, bool bDontBroadcast)
//----------------------------------------------------------------------------------------------------
public Action Command_Turret(int client, int args)
{
if (!ZR_IsClientHuman(client))
if (!(IsPlayerAlive(client) && ZR_IsClientHuman(client)))
{
ReplyToCommand(client, "[ZR] You need to be human to use this command.");
return Plugin_Handled;