diff --git a/lua/entities/gmod_wire_hoverball.lua b/lua/entities/gmod_wire_hoverball.lua index fc8d34c1e6..347f6211bc 100644 --- a/lua/entities/gmod_wire_hoverball.lua +++ b/lua/entities/gmod_wire_hoverball.lua @@ -14,7 +14,8 @@ if CLIENT then local drawhoverballs = CreateConVar( "cl_drawhoverballs", "1" ) local glowmat = Material( "sprites/light_glow02_add" ) - function ENT:DrawTranslucent() + function ENT:DrawTranslucent(flags) + BaseClass.DrawTranslucent(self, flags) if not drawhoverballs:GetBool() then return end if self:IsOn() then diff --git a/lua/entities/gmod_wire_light.lua b/lua/entities/gmod_wire_light.lua index 6540bba9ab..3ae8db733b 100644 --- a/lua/entities/gmod_wire_light.lua +++ b/lua/entities/gmod_wire_light.lua @@ -34,7 +34,8 @@ if CLIENT then return Color( self:GetR(), self:GetG(), self:GetB(), 255 ) end - function ENT:DrawTranslucent() + function ENT:DrawTranslucent(flags) + BaseClass.DrawTranslucent(self, flags) if not self:GetOn() then return end local LightPos = self:GetPos() diff --git a/lua/entities/gmod_wire_thruster.lua b/lua/entities/gmod_wire_thruster.lua index 51130ab084..063886ee6c 100644 --- a/lua/entities/gmod_wire_thruster.lua +++ b/lua/entities/gmod_wire_thruster.lua @@ -40,7 +40,8 @@ if CLIENT then self:SetRenderBounds(mn + Vector(0,0,128), mx, 0) end - function ENT:DrawTranslucent() + function ENT:DrawTranslucent(flags) + BaseClass.DrawTranslucent(self, flags) if self.ShouldDraw == 0 or not self:IsOn() then return end local EffectDraw = WireLib.ThrusterEffectDraw[self:GetEffect()] diff --git a/lua/entities/gmod_wire_vectorthruster.lua b/lua/entities/gmod_wire_vectorthruster.lua index 523d2eaa61..0387b5c3f0 100644 --- a/lua/entities/gmod_wire_vectorthruster.lua +++ b/lua/entities/gmod_wire_vectorthruster.lua @@ -61,7 +61,8 @@ if CLIENT then self:SetRenderBounds(mn + Vector(0,0,128), mx, 0) end - function ENT:DrawTranslucent() + function ENT:DrawTranslucent(flags) + BaseClass.DrawTranslucent(self, flags) if self.ShouldDraw == 0 or not self:IsOn() then return end local EffectDraw = WireLib.ThrusterEffectDraw[self:GetEffect()]