diff options
Diffstat (limited to 'mesecons_doors')
-rw-r--r-- | mesecons_doors/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_doors/init.lua b/mesecons_doors/init.lua index f7059fd..52d6c17 100644 --- a/mesecons_doors/init.lua +++ b/mesecons_doors/init.lua @@ -95,13 +95,13 @@ if doors and doors.get then action_on = function(pos, node) local door = doors.get(pos) if door then - door:toggle() + door:open() end end, action_off = function(pos, node) local door = doors.get(pos) if door then - door:toggle() + door:close() end end, }}, |