forked from minetest/minetest_game
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:
parent
36a78c87d7
commit
5e4a6e8ac6
@ -366,7 +366,7 @@ function doors.register(name, def)
|
|||||||
minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
|
minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
|
||||||
nodeupdate({x = pos.x, y = pos.y + 1, z = pos.z})
|
nodeupdate({x = pos.x, y = pos.y + 1, z = pos.z})
|
||||||
end
|
end
|
||||||
def.on_rotate = screwdriver and screwdriver.rotate_simple or false
|
def.on_rotate = false
|
||||||
|
|
||||||
if def.protected then
|
if def.protected then
|
||||||
def.can_dig = can_dig_door
|
def.can_dig = can_dig_door
|
||||||
|
Loading…
Reference in New Issue
Block a user