Skip to content

Commit

Permalink
Allow trapdoors to be rotated all ways.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sofar authored and paramat committed Jan 20, 2016
1 parent 6d79d15 commit f413141
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mods/doors/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@ function doors.register_trapdoor(name, def)
minetest.swap_node(pos, {name = newname, param1 = node.param1, param2 = node.param2})
end

def.on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple

-- Common trapdoor configuration
def.drawtype = "nodebox"
def.paramtype = "light"
Expand Down

0 comments on commit f413141

Please sign in to comment.