Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Golen87 committed Aug 18, 2024
1 parent 274518f commit 20f6d5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scenes/GameScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ export class GameScene extends BaseScene {
}
}

// Load saved purchases
this.savedPurchases.stations.forEach((id) => {
const station = this.stations.find((s) => s.stationId === id);
if (station) {
Expand All @@ -348,6 +349,7 @@ export class GameScene extends BaseScene {
}
});

// Generate navmesh
this.navmesh = GenerateNavMesh(this.board, LevelData[id])
}

Expand Down

0 comments on commit 20f6d5e

Please sign in to comment.