Skip to content

Commit

Permalink
fix: Reversed the tile stacking order to fix tiles being layered impr…
Browse files Browse the repository at this point in the history
…operly
  • Loading branch information
Cammin committed May 26, 2024
1 parent 46f82ba commit 7b366ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public int GetNextCellZ(Vector3Int cell)
return 0;
}

_depth[cell] -= 1;
_depth[cell] += 1;
return _depth[cell];
}

Expand Down

0 comments on commit 7b366ce

Please sign in to comment.