override overlay_tiles correctly

This commit is contained in:
flux 2022-08-08 13:55:57 -07:00
parent 2c7977f101
commit 40dcd14b6f
No known key found for this signature in database
GPG Key ID: 9333B27816848A15
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function api.register_single(node, shape, overrides, meta)
if def.overlay_tiles then
for i, tile in ipairs(def.overlay_tiles) do
if type(tile) == "string" then
def.tiles[i] = {
def.overlay_tiles[i] = {
name = tile,
backface_culling = true,
align_style = align_style,