From 2973644e51d084d509ff6a675a8dfc26786b5056 Mon Sep 17 00:00:00 2001 From: Obuss Date: Sun, 21 Aug 2016 04:01:23 -0500 Subject: [PATCH] Fixed a bug in SprayManager where sm_banspray would trace angles and ban the spray under the xhair of the caller even if a target was supplied. --- SprayManager/scripting/SprayManager.sp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SprayManager/scripting/SprayManager.sp b/SprayManager/scripting/SprayManager.sp index 35151acd..0790ab13 100644 --- a/SprayManager/scripting/SprayManager.sp +++ b/SprayManager/scripting/SprayManager.sp @@ -65,7 +65,7 @@ public Plugin myinfo = name = "Spray Manager", description = "A plugin to help manage player sprays.", author = "Obus", - version = "1.2.2", + version = "1.2.3", url = "https://github.com/CSSZombieEscape/sm-plugins/tree/master/SprayManager" } @@ -1376,6 +1376,8 @@ public Action Command_BanSpray(int client, int argc) } PrintToChatAll("\x01\x04[SprayManager] %N\x01 banned \x04%N\x01's spray.", client, iTarget); + + return Plugin_Handled; } float vecEndPos[3];