Skip to content

Commit

Permalink
Toggle trapdoors on signal, workaround for #252
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeija committed Feb 27, 2016
1 parent 2dc8101 commit 417a136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesecons_doors/init.lua
Expand Up @@ -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,
}},
Expand Down

0 comments on commit 417a136

Please sign in to comment.