mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 01:40:18 +01:00
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)
|
action_on = function(pos, node)
|
||||||
local door = doors.get(pos)
|
local door = doors.get(pos)
|
||||||
if door then
|
if door then
|
||||||
door:toggle()
|
door:open()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
action_off = function(pos, node)
|
action_off = function(pos, node)
|
||||||
local door = doors.get(pos)
|
local door = doors.get(pos)
|
||||||
if door then
|
if door then
|
||||||
door:toggle()
|
door:close()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}},
|
}},
|
||||||
|
Loading…
Reference in New Issue
Block a user