From cfdd0e36cd0b0399ded452ac2e88f94bc9de108a Mon Sep 17 00:00:00 2001 From: Innovation Inc Date: Wed, 6 Jan 2021 06:22:23 -0600 Subject: [PATCH] Update drone.lua --- drone.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drone.lua b/drone.lua index 7a5a01c..e0b8e0d 100644 --- a/drone.lua +++ b/drone.lua @@ -7,14 +7,13 @@ local d = component.proxy(component.list("drone")()) local t = component.proxy(component.list("modem")()) local eeprom = component.proxy(component.list("eeprom")()) local interweb = component.proxy(component.list("internet")()) -local event = require("event") local fwaddress = "https://raw.githubusercontent.com/DremOSDeveloperTeam/opencomputers-drone/master/drone.lua" local commport = 6500 t.open(6500) while true do - local evt,_,sender,port,_,name,cmd,a,b,c = event.pull("modem_message") + local evt,_,sender,port,_,name,cmd,a,b,c = computer.pullSignal() if evt == "modem_message" and name == d.name() then if cmd == "gfw" then -- Get Firmware Version t.broadcast(commport, fwv)