summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2016-02-28 07:16:45 +0100
committerJeija <norrepli@gmail.com>2016-02-28 07:16:45 +0100
commite5dba66c21b3a95d9653c217e174bc1703759be1 (patch)
treeda29b21db3cc1c5e7db5bc4e9cf3bc4d67585cdc
parent417a136c5e6842a6c54a98690746b0aa41ad69e5 (diff)
downloadmesecons-e5dba66c21b3a95d9653c217e174bc1703759be1.tar
mesecons-e5dba66c21b3a95d9653c217e174bc1703759be1.tar.gz
mesecons-e5dba66c21b3a95d9653c217e174bc1703759be1.tar.bz2
mesecons-e5dba66c21b3a95d9653c217e174bc1703759be1.tar.xz
mesecons-e5dba66c21b3a95d9653c217e174bc1703759be1.zip
Revert "Toggle trapdoors on signal, workaround for #252"
Please use the screwdriver if you want to rotate trapdoors. This reverts commit 417a136c5e6842a6c54a98690746b0aa41ad69e5.
-rw-r--r--mesecons_doors/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_doors/init.lua b/mesecons_doors/init.lua
index f7059fd..52d6c17 100644
--- a/mesecons_doors/init.lua
+++ b/mesecons_doors/init.lua
@@ -95,13 +95,13 @@ if doors and doors.get then
action_on = function(pos, node)
local door = doors.get(pos)
if door then
- door:toggle()
+ door:open()
end
end,
action_off = function(pos, node)
local door = doors.get(pos)
if door then
- door:toggle()
+ door:close()
end
end,
}},