Skip to content
Merged
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
9 changes: 0 additions & 9 deletions lua/weapons/gmod_tool/stools/wire_adv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,19 +213,10 @@ if SERVER then
wireAdvUnwire(ply, net.ReadEntity(), net.ReadTable())
elseif flag == 3 then
wireAdvRemoveUGLinks(ply, net.ReadEntity())
else
ErrorNoHalt("Tried to call wire_adv_upload without a proper message flag")
end
end
net.Receive("wire_adv_upload", wireAdvReceiver)

util.AddNetworkString("wire_adv_unwire")
net.Receive( "wire_adv_unwire", function(len, ply)
ErrorNoHalt("wire_adv_unwire is deprecated, use wire_adv_upload with an unsigned byte 2 at the start")

wireAdvUnwire(ply, net.ReadEntity(), net.ReadTable())
end)

WireToolHelpers.SetupSingleplayerClickHacks(TOOL)
elseif CLIENT then

Expand Down
Loading