[inspect] fix prepareObject calls

This commit is contained in:
Ben 2024-06-04 01:11:49 +02:00
parent d2f43ea1a7
commit 08bfb124d8
Signed by: ben
GPG key ID: 1353F41CF1CFF2D3

View file

@ -33,11 +33,11 @@ local keys = {}
local colony = peripheral.wrap(config.colony_interface_side)
if colony.isInColony() then
obj, keys = prepareObject{colony.getWorkOrders()[1]}
obj, keys = prepareObject(colony.getWorkOrders()[1])
end
local function setObject(other)
obj, keys = prepareObject{other}
obj, keys = prepareObject(other)
end
local function fetch(wait_for)