projects
/
cc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43f01e
)
Yet another whoops
author
Olav Bakke Svendsen
<mail@olavbs.no>
Wed, 11 Oct 2023 21:30:22 +0000
(23:30 +0200)
committer
Olav Bakke Svendsen
<mail@olavbs.no>
Wed, 11 Oct 2023 21:30:22 +0000
(23:30 +0200)
steam/temporary-coal-feeder.lua
patch
|
blob
|
history
diff --git
a/steam/temporary-coal-feeder.lua
b/steam/temporary-coal-feeder.lua
index baa78ff6460788a1451a9c63f5012878ebfd4e71..6f33ff16495ed8f48e403d37885f8d71bf57e128 100644
(file)
--- 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(d
eployer
.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