Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_egp/cl_init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include('shared.lua')

Check warning on line 1 in lua/entities/gmod_wire_egp/cl_init.lua

View workflow job for this annotation

GitHub Actions / lint

"Syntax inconsistency"

Inconsistent use of 'double quoted strings' and 'single quoted strings'

DEFINE_BASECLASS("base_wire_entity")

Check warning on line 3 in lua/entities/gmod_wire_egp/cl_init.lua

View workflow job for this annotation

GitHub Actions / lint

"Syntax inconsistency"

Inconsistent use of 'double quoted strings' and 'single quoted strings'
ENT.gmod_wire_egp = true
Expand Down Expand Up @@ -49,6 +49,6 @@
end

function ENT:OnRemove()
self.GPU:Finalize()
if self.GPU then self.GPU:Finalize() end
BaseClass.OnRemove(self)
end
6 changes: 0 additions & 6 deletions lua/entities/gmod_wire_egp_emitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,6 @@ if CLIENT then
local dist = Vector(1,0,1)*wire_egp_emitter_drawdist:GetInt()
self:SetRenderBounds(Vector(-64,0,0)-dist,Vector(64,0,135)+dist)
end


function ENT:OnRemove()
if self.GPU then self.GPU:Finalize() end
BaseClass.OnRemove(self)
end
end

function ENT:UpdateTransmitState() return TRANSMIT_ALWAYS end
Loading