diff --git a/inferium-harvester.lua b/inferium-harvester.lua index 535599f..f47b244 100644 --- a/inferium-harvester.lua +++ b/inferium-harvester.lua @@ -272,10 +272,11 @@ end local function fetchRemotePlan() print('> fetch remote plan') - local message = { type = 'getplan', payload = { computerId = os.getComputerID() } } + local message = { type = 'getplan' } while true do local replyMessage, _ = net.sendQuery(INFERIUM_SERVER, message, NETWORK_TIMEOUT) + print('> fetched') if replyMessage and replyMessage.payload then previouslyFetchedRemotePlan = replyMessage.payload