diff --git a/lua/entities/gmod_wire_egp_emitter.lua b/lua/entities/gmod_wire_egp_emitter.lua index 2d5467edd5..ce6d13c0d6 100644 --- a/lua/entities/gmod_wire_egp_emitter.lua +++ b/lua/entities/gmod_wire_egp_emitter.lua @@ -121,11 +121,11 @@ if CLIENT then if filter then render.PushFilterMag(filter) render.PushFilterMin(filter) - obj:Draw(ent, mat) + obj:Draw(self, mat) render.PopFilterMag() render.PopFilterMin() else - obj:Draw(ent, mat) + obj:Draw(self, mat) end EGP:FixMaterial(oldtex) end