diff --git a/lua/weapons/gmod_tool/stools/wire_adv.lua b/lua/weapons/gmod_tool/stools/wire_adv.lua index ac661c9ff4..74a3acc6d8 100644 --- a/lua/weapons/gmod_tool/stools/wire_adv.lua +++ b/lua/weapons/gmod_tool/stools/wire_adv.lua @@ -620,6 +620,11 @@ elseif CLIENT then end if self:GetStage() == 2 then + if not IsValid( self.CurrentEntity ) then + self:SetStage(0) + return + end + local _, outputs = self:GetPorts( self.CurrentEntity ) if alt then -- Auto wiring