Skip to content
Snippets Groups Projects
Commit 5e4a6e8a authored by paramat's avatar paramat
Browse files

Doors: Remove ability to rotate doors with screwdrivers

Rotating doors with screwdrivers causes too many issues to be worth it.
parent 36a78c87
No related branches found
No related tags found
No related merge requests found
......@@ -366,7 +366,7 @@ function doors.register(name, def)
minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
nodeupdate({x = pos.x, y = pos.y + 1, z = pos.z})
end
def.on_rotate = screwdriver and screwdriver.rotate_simple or false
def.on_rotate = false
if def.protected then
def.can_dig = can_dig_door
......
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