mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Update init.lua
This commit is contained in:
parent
e6cb0fdfcf
commit
5dc0c260f1
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ function doors.register_trapdoor(name, def)
|
||||||
def.paramtype = "light"
|
def.paramtype = "light"
|
||||||
def.paramtype2 = "facedir"
|
def.paramtype2 = "facedir"
|
||||||
def.is_ground_content = false
|
def.is_ground_content = false
|
||||||
def.use_texture_alpha = "clip"
|
def.use_texture_alpha = def.use_texture_alpha or "clip"
|
||||||
|
|
||||||
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