From 3ec00d5c814ff095f5b1f2f737b1a15fd0a4032c Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Mon, 12 Jan 2026 22:55:17 -0500 Subject: [PATCH] fix: recipes should go before product cycling --- oregen-manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oregen-manager.lua b/oregen-manager.lua index 0239b7b..ef904c4 100644 --- a/oregen-manager.lua +++ b/oregen-manager.lua @@ -332,7 +332,6 @@ function run (ticker, export_storage, current_modes) local export_amounts = getAmounts(export_storage.list) local stock_amounts = getAmounts(ticker.stock) updateModes(current_modes, stock_amounts) - cycleItems(ticker, stock_amounts) for item, mode in pairs(current_modes) do -- mode[1] is mode, mode[2] is amt_extra when exporting if mode[1] == "recipe" then @@ -347,6 +346,7 @@ function run (ticker, export_storage, current_modes) export(ticker, item, amt) end end + cycleItems(ticker, stock_amounts) os.sleep(SLEEP_T) return run (ticker, export_storage, current_modes) end