1
0
의 미러 https://github.com/minetest-mods/mesecons.git synced 2025-12-30 12:35:27 +01:00

Toggle trapdoors on signal, workaround for #252

This commit is contained in:
Jeija
2016-02-27 20:40:16 +01:00
부모 2dc8101fa1
커밋 417a136c5e

파일 보기

@@ -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:open() door:toggle()
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:close() door:toggle()
end end
end, end,
}}, }},