Skip to content

Commit

Permalink
Doors: Remove ability to rotate doors with screwdrivers
Browse files Browse the repository at this point in the history
Rotating doors with screwdrivers causes too many issues to be worth it.
  • Loading branch information
paramat committed Sep 30, 2016
1 parent 36a78c8 commit 5e4a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/doors/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 5e4a6e8

Please sign in to comment.