forked from thunderdog1138/star_wars
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})
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue