projects
/
zefram
/
minetest
/
pipeworks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc5617d
)
fixed facedir/rotation bug in placement of expansion tanks.
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Tue, 1 Jan 2013 23:17:43 +0000
(18:17 -0500)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Tue, 1 Jan 2013 23:17:43 +0000
(18:17 -0500)
autoplace.lua
patch
|
blob
|
history
diff --git
a/autoplace.lua
b/autoplace.lua
index 7e6a329ee8560d7471c6e6eef5dcf3240611ff53..ef5bbda00931ec4f1947742e5506ebb10a54524c 100644
(file)
--- a/
autoplace.lua
+++ b/
autoplace.lua
@@
-181,11
+181,11
@@
function pipes_scansurroundings(pos)
end
function pipe_look_for_stackable_tanks(pos)
- tym = minetest.env:get_node({ x=pos.x , y=pos.y-1, z=pos.z })
+
local
tym = minetest.env:get_node({ x=pos.x , y=pos.y-1, z=pos.z })
if string.find(tym.name, "pipeworks:storage_tank_") ~= nil or
string.find(tym.name, "pipeworks:expansion_tank_") ~= nil then
- minetest.env:add_node(pos, { name = "pipeworks:expansion_tank_0"})
+ minetest.env:add_node(pos, { name = "pipeworks:expansion_tank_0"
, param2 = tym.param2
})
end
end