From 5aa438d6b1d191e4b1de02729c80401ef2c899c1 Mon Sep 17 00:00:00 2001 From: icedream Date: Sat, 21 Dec 2013 00:08:01 +0100 Subject: [PATCH] Missing ")". I hate how I need to debug everything on a separate server. --- lua/weapons/disguiser/cl_fxfake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/weapons/disguiser/cl_fxfake.lua b/lua/weapons/disguiser/cl_fxfake.lua index d78d41d..37bcea9 100644 --- a/lua/weapons/disguiser/cl_fxfake.lua +++ b/lua/weapons/disguiser/cl_fxfake.lua @@ -33,7 +33,7 @@ usermessage.Hook("disguiserShootFX", function(um) local bFirstTimePredicted = um:ReadBool() // Player and weapon valid? - if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon()) || !IsValid(LocalPlayer():GetWeapon().DoShootEffect then return false end + if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon()) || !IsValid(LocalPlayer():GetWeapon().DoShootEffect) then return false end // Render shoot effect LocalPlayer():GetWeapon("disguiser"):DoShootEffect(