1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Merge branch 'Tile-Imps' of github.com:Variable-ind/Pixelorama into Tile-Imps

This commit is contained in:
Variable 2024-12-13 17:03:08 +05:00
commit d846ce1cec

View file

@ -394,6 +394,7 @@ func update_tilemap(
if _tiles_equal(i, image_portion, tile.image): if _tiles_equal(i, image_portion, tile.image):
if cells[i].index != j: if cells[i].index != j:
cells[i].index = j cells[i].index = j
tileset.tiles[j].times_used += 1
cells[i].remove_transformations() cells[i].remove_transformations()
found_tile = true found_tile = true
break break