override overlay_tiles correctly
This commit is contained in:
parent
2c7977f101
commit
40dcd14b6f
|
@ -201,7 +201,7 @@ function api.register_single(node, shape, overrides, meta)
|
||||||
if def.overlay_tiles then
|
if def.overlay_tiles then
|
||||||
for i, tile in ipairs(def.overlay_tiles) do
|
for i, tile in ipairs(def.overlay_tiles) do
|
||||||
if type(tile) == "string" then
|
if type(tile) == "string" then
|
||||||
def.tiles[i] = {
|
def.overlay_tiles[i] = {
|
||||||
name = tile,
|
name = tile,
|
||||||
backface_culling = true,
|
backface_culling = true,
|
||||||
align_style = align_style,
|
align_style = align_style,
|
||||||
|
|
Loading…
Reference in New Issue