From: Olav Bakke Svendsen Date: Wed, 11 Oct 2023 21:30:22 +0000 (+0200) Subject: Yet another whoops X-Git-Tag: stable-steam~35 X-Git-Url: http://git.olavbs.no/?a=commitdiff_plain;h=d02ac7a4f83be5622e7e49bb2d566374527a7820;p=cc.git Yet another whoops --- diff --git a/steam/temporary-coal-feeder.lua b/steam/temporary-coal-feeder.lua index baa78ff..6f33ff1 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -30,7 +30,7 @@ end local feed = function(stock) local stock = stock for deployer_addr,deployer in pairs(deployers) do - if refill_when(d.getItemDetail(1).count) then + if refill_when(deployer.getItemDetail(1).count) then local f = function() return false, "No coal available" end for barrel_addr,count in pairs(stock) do if count >= refill_amt then