compost_control.lua: made storage feature optional

This commit is contained in:
Emerson Rosen-Jones 2025-11-15 09:51:24 -05:00
parent fe3f75cf0b
commit 283df296c5

View file

@ -56,7 +56,7 @@ function move_all (src, dest)
end end
while true do while true do
move_all(COMPOST_OUTPUT, STORAGE) if STORAGE ~= "" then move_all(COMPOST_OUTPUT, STORAGE) end
for _, source in ipairs(SOURCES) do for _, source in ipairs(SOURCES) do
local totals = tally_up(source) local totals = tally_up(source)
local diffs = compare_counts(totals, CHECKS) local diffs = compare_counts(totals, CHECKS)