mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-28 08:23:15 +00:00
Merge branch 'Orama-Interactive:master' into Tile-Imps
This commit is contained in:
commit
1a04934232
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue