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, }},