diff --git a/lua/entities/gmod_wire_expression2/core/hologram.lua b/lua/entities/gmod_wire_expression2/core/hologram.lua index cab38b1575..6ac1bb55ac 100644 --- a/lua/entities/gmod_wire_expression2/core/hologram.lua +++ b/lua/entities/gmod_wire_expression2/core/hologram.lua @@ -1168,7 +1168,7 @@ e2function void holoRenderFX(index, effect) if not Holo then return end effect = effect - effect % 1 - if effect == 23 then self:throw("Cannot use kRenderFxRagdoll renderfx!", nil) end + if effect == 23 then return self:throw("Cannot use kRenderFxRagdoll renderfx!", nil) end Holo.ent:SetKeyValue("renderfx",effect) end