summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-03-29 22:14:14 +0200
committerJeija <norrepli@gmail.com>2012-03-29 22:14:14 +0200
commitd9a605511d67d6491f9b0e92ed3b721f89b96574 (patch)
tree96ffa5cea2cdc4b7ac968e816ffcaacf110fcb2c
parente0c17409449c2d6337160a208422dc0ce47072bd (diff)
downloadmesecons-d9a605511d67d6491f9b0e92ed3b721f89b96574.tar
mesecons-d9a605511d67d6491f9b0e92ed3b721f89b96574.tar.gz
mesecons-d9a605511d67d6491f9b0e92ed3b721f89b96574.tar.bz2
mesecons-d9a605511d67d6491f9b0e92ed3b721f89b96574.tar.xz
mesecons-d9a605511d67d6491f9b0e92ed3b721f89b96574.zip
Remove dedicated meselamp stuff
-rw-r--r--mesecons/init.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/mesecons/init.lua b/mesecons/init.lua
index 1c8b868..fd830ee 100644
--- a/mesecons/init.lua
+++ b/mesecons/init.lua
@@ -460,23 +460,6 @@ function mesecon:changesignal(pos)
until false
end
-
-mesecon:register_on_signal_on(function(pos, node)
- if node.name=="mesecons:meselamp_off" then
- --minetest.env:remove_node(pos)
- minetest.env:add_node(pos, {name="mesecons:meselamp_on"})
- nodeupdate(pos)
- end
-end)
-
-mesecon:register_on_signal_off(function(pos, node)
- if node.name=="mesecons:meselamp_on" then
- --minetest.env:remove_node(pos)
- minetest.env:add_node(pos, {name="mesecons:meselamp_off"})
- nodeupdate(pos)
- end
-end)
-
function mesecon:add_rules(name, rules)
local i=0
while mesecon.rules[i]~=nil do