Skip to content

Commit

Permalink
Fixed EGPs not working in modes other than 'emitter' (#2972)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepa2 authored Jan 7, 2024
1 parent a766faa commit 53a70a2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lua/entities/gmod_wire_egp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')

ENT.IsEGP = true
ENT.WireDebugName = "E2 Graphics Processor"

function ENT:Initialize()
Expand Down
1 change: 1 addition & 0 deletions lua/entities/gmod_wire_egp/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ENT.Instructions = "Wirelink To E2"
ENT.Spawnable = false

ENT.RenderGroup = RENDERGROUP_BOTH
ENT.IsEGP = true

include("lib/init.lua")
if (SERVER) then AddCSLuaFile("lib/init.lua") end
Expand Down
1 change: 0 additions & 1 deletion lua/entities/gmod_wire_egp_hud/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ include("huddraw.lua")

DEFINE_BASECLASS("base_wire_entity")

ENT.IsEGP = true
ENT.WireDebugName = "E2 Graphics Processor HUD"

util.AddNetworkString("EGP_HUD_Use")
Expand Down
1 change: 1 addition & 0 deletions lua/entities/gmod_wire_egp_hud/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENT.Purpose = "EGP Hud"
ENT.Instructions = "WireLink To E2"

ENT.Spawnable = false
ENT.IsEGP = true


function ENT:SetupDataTables()
Expand Down

0 comments on commit 53a70a2

Please sign in to comment.