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(