entWatch4: Remove useless if statement.
Cant push buttons anyway unless you 'own' the item.
This commit is contained in:
parent
c045b829ea
commit
0c7477b315
@ -459,9 +459,6 @@ public Action OnButtonPress(int button, int client)
|
||||
if (itemArray[item_button] && itemArray[item_button] == button &&
|
||||
itemArray[item_owned] && itemArray[item_owner] == client)
|
||||
{
|
||||
if (g_bIntermission)
|
||||
return Plugin_Handled;
|
||||
|
||||
Action aResult;
|
||||
Call_StartForward(g_hFwd_OnClientItemCanActivate);
|
||||
Call_PushArray(itemArray, sizeof(itemArray));
|
||||
|
Loading…
Reference in New Issue
Block a user