Skip to content

Commit

Permalink
fix: Fixed issue where layer components were being populated with inc…
Browse files Browse the repository at this point in the history
…orrect layer data
  • Loading branch information
Cammin committed May 31, 2024
1 parent 6316770 commit f51d393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ private LDtkComponentLayer BuildLayerInstance(LayerInstance layer)
LDtkComponentEntity[] entities = null;
float layerScale = 1;

_layerComponent = null;
_layerIntGrid = null;
_layerTiles = null;

Expand Down

0 comments on commit f51d393

Please sign in to comment.