1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-07 10:59:49 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Variable 1a04934232
Merge branch 'Orama-Interactive:master' into Tile-Imps 2024-12-08 17:22:41 +05:00
Emmanouil Papadeas 9c628c403b Fix stack tile editing mode not increasing the tile's times_used variable 2024-12-07 17:01:56 +02:00

View file

@ -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