1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-27 04:18:05 +11:00

changed the queuePacket call

This commit is contained in:
Izaya 2018-04-04 13:27:31 +10:00
parent b2332a97aa
commit 3fa392bc0e

View File

@ -203,7 +203,7 @@ listeners["modem_message"]=processPacket
event.listen("modem_message",processPacket) event.listen("modem_message",processPacket)
print("Started packet listening daemon: "..tostring(processPacket)) print("Started packet listening daemon: "..tostring(processPacket))
local function queuePacket(_,ptype,to,vport,data,npID) local function queuePacket(ptype,to,vport,data,npID)
npID = npID or genPacketID() npID = npID or genPacketID()
pqueue[npID] = {ptype,to,vport,data,0,0} pqueue[npID] = {ptype,to,vport,data,0,0}
dprint(npID,table.unpack(pqueue[npID])) dprint(npID,table.unpack(pqueue[npID]))