fixed the arguments for the net_send signal

This commit is contained in:
Izaya 2018-04-01 17:05:35 +10:00
parent b79ae09cdf
commit 4890f8b73f
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
local c = ""
do
function net.hook.sender(et,packetID,packetType,to,vport,data)
function net.hook.sender(to,vport,data,packetType,packetID)
if et == "net_send" then
net.send(packetID,packetType,to,vport,data)
net.send(to,vport,data,packetType,packetID)
end
end
local fs = component.proxy(computer.getBootAddress())