summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-12-16 19:03:46 +0100
committerJeija <norrepli@gmail.com>2012-12-16 19:03:46 +0100
commit13befe3bbab80faf62ad88188c26c7765e7a01a7 (patch)
tree360d78970888eaa35cb7826b841d4639acd17bb9
parent0aab812487480f2c644c882d5b010d7ef7644da6 (diff)
downloadmesecons-13befe3bbab80faf62ad88188c26c7765e7a01a7.tar
mesecons-13befe3bbab80faf62ad88188c26c7765e7a01a7.tar.gz
mesecons-13befe3bbab80faf62ad88188c26c7765e7a01a7.tar.bz2
mesecons-13befe3bbab80faf62ad88188c26c7765e7a01a7.tar.xz
mesecons-13befe3bbab80faf62ad88188c26c7765e7a01a7.zip
Fix #62 (Hopefully this time)
-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