Skip to content

Commit 417a136

Browse files
committedFeb 27, 2016
Toggle trapdoors on signal, workaround for #252
1 parent 2dc8101 commit 417a136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎mesecons_doors/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ if doors and doors.get then
9595
action_on = function(pos, node)
9696
local door = doors.get(pos)
9797
if door then
98-
door:open()
98+
door:toggle()
9999
end
100100
end,
101101
action_off = function(pos, node)
102102
local door = doors.get(pos)
103103
if door then
104-
door:close()
104+
door:toggle()
105105
end
106106
end,
107107
}},

0 commit comments

Comments
 (0)
Please sign in to comment.