code tweak
This commit is contained in:
parent
5c088d7d49
commit
7dbb41ce1c
5
init.lua
5
init.lua
@ -44,9 +44,10 @@ local set_textures = function(images)
|
|||||||
stair_images[i] = {
|
stair_images[i] = {
|
||||||
name = image,
|
name = image,
|
||||||
backface_culling = true,
|
backface_culling = true,
|
||||||
align_style = "world",
|
align_style = "world"
|
||||||
}
|
}
|
||||||
elseif image.backface_culling == nil then -- override using any other value
|
else
|
||||||
|
stair_images[i] = table.copy(image)
|
||||||
if stair_images[i].backface_culling == nil then
|
if stair_images[i].backface_culling == nil then
|
||||||
stair_images[i].backface_culling = true
|
stair_images[i].backface_culling = true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user