From 288cef314d522f8ac6230d9f35254b0c55bd8b84 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 4 Oct 2024 01:05:11 +0200 Subject: [PATCH] Unlock after controller save --- itemcontroller.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/itemcontroller.lua b/itemcontroller.lua index 203674c..dab36cb 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -64,6 +64,7 @@ local function loadState(fname, node) end local controller = Storage:fromPeripherals(Storage.assumeHomogeneous(storageChests)) saveState(fname, controller) + unlock() return controller end