projects
/
cc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163bd55
)
Note to self, it's 'elseif', not 'else if' in lua
author
Olav Bakke Svendsen
<mail@olavbs.no>
Wed, 11 Oct 2023 21:25:30 +0000
(23:25 +0200)
committer
Olav Bakke Svendsen
<mail@olavbs.no>
Wed, 11 Oct 2023 21:25:30 +0000
(23:25 +0200)
steam/temporary-coal-feeder.lua
patch
|
blob
|
history
diff --git
a/steam/temporary-coal-feeder.lua
b/steam/temporary-coal-feeder.lua
index ba1b7bf8b67e87c127a4282b81980ff1af26ce2f..f1a76f77ddab72bd1df426f214edec159280b6a6 100644
(file)
--- a/
steam/temporary-coal-feeder.lua
+++ b/
steam/temporary-coal-feeder.lua
@@
-14,7
+14,7
@@
for _,p in pairs(peripheral.getNames()) do
local barrel = string.match(p, "^sophisticatedstorage\:limited_barrel_%d+$")
if deployer then
deployers[deployer] = peripheral.wrap(deployer)
- else
if barrel then
+ elseif barrel then
barrels[barrel] = peripheral.wrap(barrel)
end
end