code tweak

This commit is contained in:
tenplus1 2020-03-29 10:25:55 +01:00
parent 5c088d7d49
commit 7dbb41ce1c

View File

@ -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