fix build

This commit is contained in:
wass08
2026-02-03 15:52:25 +09:00
parent 4a7d096665
commit 51ab0d9739
+2 -2
View File
@@ -352,7 +352,7 @@ function floodFillFromEdges(grid: Grid): void {
const [x, z] = parseCellKey(key) const [x, z] = parseCellKey(key)
// Check 4 neighbors // Check 4 neighbors
const neighbors = [ const neighbors: [number, number][] = [
[x + 1, z], [x + 1, z],
[x - 1, z], [x - 1, z],
[x, z + 1], [x, z + 1],
@@ -408,7 +408,7 @@ function findInteriorSpaces(grid: Grid, levelId: string): Space[] {
const curKey = queue.shift()! const curKey = queue.shift()!
const [cx, cz] = parseCellKey(curKey) const [cx, cz] = parseCellKey(curKey)
const neighbors = [ const neighbors: [number, number][] = [
[cx + 1, cz], [cx + 1, cz],
[cx - 1, cz], [cx - 1, cz],
[cx, cz + 1], [cx, cz + 1],