Skip to content

Commit

Permalink
fix EGP Emitter calling draw with nil (#3209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk authored Dec 7, 2024
1 parent fbe1bed commit 530fcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/entities/gmod_wire_egp_emitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 530fcfc

Please sign in to comment.