From 0c7477b315e90d570f878339d289a29a6f83c760 Mon Sep 17 00:00:00 2001 From: zaCade Date: Fri, 10 Aug 2018 17:22:44 +0200 Subject: [PATCH] entWatch4: Remove useless if statement. Cant push buttons anyway unless you 'own' the item. --- _entWatch4/scripting/entWatch-core.sp | 3 --- 1 file changed, 3 deletions(-) diff --git a/_entWatch4/scripting/entWatch-core.sp b/_entWatch4/scripting/entWatch-core.sp index 401d01c1..5c5d3617 100644 --- a/_entWatch4/scripting/entWatch-core.sp +++ b/_entWatch4/scripting/entWatch-core.sp @@ -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));