This commit is contained in:
Dennis Postma 2024-09-09 18:35:05 +02:00
parent 636aa6cc55
commit c371ee5998

View File

@ -32,7 +32,7 @@ class LoadedZone {
}
public async getGrid(): Promise<number[][]> {
let grid: number[][] = Array.from({ length: this.zone..height }, () => Array.from({ length: this.zone.width }, () => 0))
let grid: number[][] = Array.from({ length: this.zone.height }, () => Array.from({ length: this.zone.width }, () => 0))
const eventTiles = await zoneRepository.getEventTiles(this.zone.id)