Toggle trapdoors on signal, workaround for #252

This commit is contained in:
Jeija 2016-02-27 20:40:16 +01:00
parent 2dc8101fa1
commit 417a136c5e
1 changed files with 2 additions and 2 deletions

View File

@ -95,13 +95,13 @@ if doors and doors.get then
action_on = function(pos, node)
local door = doors.get(pos)
if door then
door:open()
door:toggle()
end
end,
action_off = function(pos, node)
local door = doors.get(pos)
if door then
door:close()
door:toggle()
end
end,
}},