Unlock after controller save

This commit is contained in:
Gabriel Tofvesson 2024-10-04 01:05:11 +02:00
parent 93657b8bb0
commit 288cef314d

View File

@ -64,6 +64,7 @@ local function loadState(fname, node)
end end
local controller = Storage:fromPeripherals(Storage.assumeHomogeneous(storageChests)) local controller = Storage:fromPeripherals(Storage.assumeHomogeneous(storageChests))
saveState(fname, controller) saveState(fname, controller)
unlock()
return controller return controller
end end