diff --git a/lua/wire/stools/clutch.lua b/lua/wire/stools/clutch.lua index a34b63d4a3..4bf03ee713 100644 --- a/lua/wire/stools/clutch.lua +++ b/lua/wire/stools/clutch.lua @@ -20,8 +20,6 @@ if SERVER then end TOOL.ClientConVar[ "model" ] = "models/jaanus/wiretool/wiretool_siren.mdl" -cleanup.Register( "wire_clutch" ) - /*--------------------------------------------------------- -- Server Usermessages -- diff --git a/lua/wire/stools/dataplug.lua b/lua/wire/stools/dataplug.lua index acbead6703..f8de1e2b5d 100644 --- a/lua/wire/stools/dataplug.lua +++ b/lua/wire/stools/dataplug.lua @@ -34,8 +34,6 @@ end local SocketData = list.Get("Wire_Socket_Models") -cleanup.Register( "wire_dataplugs" ) - function TOOL:GetModel() local model = self:GetClientInfo( "model" ) if (not util.IsValidModel( model ) or not util.IsValidProp( model ) or not SocketData[ model ]) then return "models/props_lab/tpplugholder_single.mdl", "models/props_lab/tpplug.mdl" end diff --git a/lua/wire/stools/egp.lua b/lua/wire/stools/egp.lua index a7ac3c560a..a6fb024578 100644 --- a/lua/wire/stools/egp.lua +++ b/lua/wire/stools/egp.lua @@ -11,11 +11,10 @@ TOOL.ClientConVar["freeze"] = 1 TOOL.ClientConVar["emitter_usert"] = 1 TOOL.ClientConVar["translucent"] = 0 -cleanup.Register( "wire_egps" ) +WireToolSetup.BaseLang() +WireToolSetup.SetupMax(5) if (SERVER) then - CreateConVar('sbox_maxwire_egps', 5) - local function SpawnEnt( ply, Pos, Ang, model, class) if IsValid(ply) and (not ply:CheckLimit("wire_egps")) then return false end if not ply then ply = game.GetWorld() end -- For Garry's Map Saver diff --git a/lua/wire/stools/plug.lua b/lua/wire/stools/plug.lua index 3870254f28..90a034d11b 100644 --- a/lua/wire/stools/plug.lua +++ b/lua/wire/stools/plug.lua @@ -46,8 +46,6 @@ hook.Add("ModelPlugLuaRefresh","wire_plug_updatemodels",function() SocketData = list.Get("Wire_Socket_Models") end) -cleanup.Register( "wire_plugs" ) - function TOOL:GetModel() local model = self:GetClientInfo( "model" ) if (not util.IsValidModel( model ) or not util.IsValidProp( model ) or not SocketData[ model ]) then return "models/props_lab/tpplugholder_single.mdl" end