Skip to content

Commit f413141

Browse files
sofarparamat
authored andcommittedJan 20, 2016
Allow trapdoors to be rotated all ways.
There really is no reason to prevent rotation in trapdoors, I expect this to be an oversight. Trapdoors work perfectly well sideways, upside down and can work like fences, gates and more. Most commonly, people will want to put them in the top half of the node so they remain flush with a floor.
1 parent 6d79d15 commit f413141

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

Diff for: ‎mods/doors/init.lua

-2
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ function doors.register_trapdoor(name, def)
451451
minetest.swap_node(pos, {name = newname, param1 = node.param1, param2 = node.param2})
452452
end
453453

454-
def.on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple
455-
456454
-- Common trapdoor configuration
457455
def.drawtype = "nodebox"
458456
def.paramtype = "light"

0 commit comments

Comments
 (0)