forked from minetest-mods/mesecons
Revert "Toggle trapdoors on signal, workaround for #252"
Please use the screwdriver if you want to rotate trapdoors.
This reverts commit 417a136c5e
.
This commit is contained in:
parent
417a136c5e
commit
e5dba66c21
|
@ -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,
|
||||
}},
|
||||
|
|
Loading…
Reference in New Issue
Block a user