Skip to content

Commit

Permalink
Fix: texturesPerTilemap before calling tileset (#156)
Browse files Browse the repository at this point in the history
because texturesPerTilemap is used in the tileset method.
  • Loading branch information
SanjoSolutions authored Apr 13, 2024
1 parent fb589c9 commit db40858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CompositeTilemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class CompositeTilemap extends Container
{
super();

this.tileset(tileset);
this.texturesPerTilemap = settings.TEXTURES_PER_TILEMAP;
this.tileset(tileset);
}

/**
Expand Down

0 comments on commit db40858

Please sign in to comment.