diff --git a/Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs b/Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs index 264f4819..23b69ac8 100644 --- a/Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs +++ b/Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs @@ -56,7 +56,7 @@ public int GetNextCellZ(Vector3Int cell) return 0; } - _depth[cell] -= 1; + _depth[cell] += 1; return _depth[cell]; }