From 9c628c403b13a24e57d5adf6ad284ca8aa23a476 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:01:56 +0200 Subject: [PATCH] Fix stack tile editing mode not increasing the tile's `times_used` variable --- src/Classes/Cels/CelTileMap.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Classes/Cels/CelTileMap.gd b/src/Classes/Cels/CelTileMap.gd index 0c6da9451..4d0275679 100644 --- a/src/Classes/Cels/CelTileMap.gd +++ b/src/Classes/Cels/CelTileMap.gd @@ -394,6 +394,7 @@ func update_tilemap( if _tiles_equal(i, image_portion, tile.image): if cells[i].index != j: cells[i].index = j + tileset.tiles[j].times_used += 1 cells[i].remove_transformations() found_tile = true break