Doors: Remove ability to rotate doors with screwdrivers

Rotating doors with screwdrivers causes too many issues to be worth it.
This commit is contained in:
paramat 2016-09-28 22:09:50 +01:00
parent 36a78c87d7
commit 5e4a6e8ac6

View File

@ -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