summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_extrawires/vertical.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesecons_extrawires/vertical.lua b/mesecons_extrawires/vertical.lua
index c20415a..9aaa163 100644
--- a/mesecons_extrawires/vertical.lua
+++ b/mesecons_extrawires/vertical.lua
@@ -64,10 +64,9 @@ local vertical_updatepos = function (pos)
end
local vertical_update = function (pos, node)
- print("update")
vertical_updatepos(pos) -- this one
- vertical_updatepos(addPosRule(pos, vrules[1])) -- above
- vertical_updatepos(addPosRule(pos, vrules[2])) -- below
+ vertical_updatepos(mesecon:addPosRule(pos, vrules[1])) -- above
+ vertical_updatepos(mesecon:addPosRule(pos, vrules[2])) -- below
end
-- Vertical wire