mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 19:09:50 +00:00
Compare commits
2 commits
16dcffd038
...
1a04934232
Author | SHA1 | Date | |
---|---|---|---|
|
1a04934232 | ||
|
9c628c403b |
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue