[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)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue