From 3c0d0a234b50e4c7b5cc0c1f1304ed2a4920a42c Mon Sep 17 00:00:00 2001 From: Evans Jahja <1199566+EvansJahja@users.noreply.github.com> Date: Sat, 4 Apr 2026 01:48:45 +0900 Subject: [PATCH] Fix addNewLayerTile call to include nil parameter (missing chunk parameter) --- sti/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sti/init.lua b/sti/init.lua index 646a224..b931dc5 100644 --- a/sti/init.lua +++ b/sti/init.lua @@ -1271,7 +1271,7 @@ function Map:setLayerTile(layer, x, y, gid) if instance then self:swapTile(instance, tile) else - self:addNewLayerTile(layer, tile, x, y) + self:addNewLayerTile(layer, nil, tile, x, y) end layer.data[y][x] = tile end