mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-28 08:23:15 +00:00
Merge branch 'Tile-Imps' of github.com:Variable-ind/Pixelorama into Tile-Imps
This commit is contained in:
commit
d846ce1cec
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 cells[i].index != j:
|
||||
cells[i].index = j
|
||||
tileset.tiles[j].times_used += 1
|
||||
cells[i].remove_transformations()
|
||||
found_tile = true
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue