Skip to content
Snippets Groups Projects
Commit 55bdc674 authored by Thomas--S's avatar Thomas--S Committed by Milan
Browse files

cherry-pick 3661cb61..79dbafc1

parent b0bc1af4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -533,6 +533,10 @@ function _doors.trapdoor_toggle(pos, node, clicker)
end
function doors.register_trapdoor(name, def)
if not name:find(":") then
name = "doors:" .. name
end
local name_closed = name
local name_opened = name.."_open"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment