mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
fix EGP Emitter calling draw with nil (#3209)
This commit is contained in:
parent
fbe1bed5ba
commit
530fcfcb0e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user