[inspect] fix prepareObject calls
This commit is contained in:
parent
d2f43ea1a7
commit
08bfb124d8
|
@ -33,11 +33,11 @@ local keys = {}
|
||||||
|
|
||||||
local colony = peripheral.wrap(config.colony_interface_side)
|
local colony = peripheral.wrap(config.colony_interface_side)
|
||||||
if colony.isInColony() then
|
if colony.isInColony() then
|
||||||
obj, keys = prepareObject{colony.getWorkOrders()[1]}
|
obj, keys = prepareObject(colony.getWorkOrders()[1])
|
||||||
end
|
end
|
||||||
|
|
||||||
local function setObject(other)
|
local function setObject(other)
|
||||||
obj, keys = prepareObject{other}
|
obj, keys = prepareObject(other)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function fetch(wait_for)
|
local function fetch(wait_for)
|
||||||
|
|
Loading…
Reference in a new issue