mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-21 15:21:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue