From d7725e361923cd337d36ef0d257a491b75fdfbf4 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Tue, 8 Oct 2024 19:36:40 -0700 Subject: [PATCH] fix map load build error --- TODO.txt | 2 ++ src/core/game/TerrainMapLoader.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO.txt b/TODO.txt index 19b1820ed..a6c902b6c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -162,6 +162,8 @@ * disable double tap on mobile DONE 10/6/2024 * donate troops button DONE 10/7/2024 * Make fake humans spawn by their country +* Increase disk size +* NPC more likely to accept alliance fewer alliance player has * rewrite mobile input handling * fake humans target enemies * create private lobby menu diff --git a/src/core/game/TerrainMapLoader.ts b/src/core/game/TerrainMapLoader.ts index 959fcc13b..637bd844f 100644 --- a/src/core/game/TerrainMapLoader.ts +++ b/src/core/game/TerrainMapLoader.ts @@ -1,5 +1,5 @@ import {Cell, TerrainType} from './Game'; -import binAsString from "!!binary-loader!../../../resources/TopoWorldMap.bin"; +import binAsString from "!!binary-loader!../../../resources/maps/WorldMap.bin"; export class TerrainMap { constructor(public readonly tiles: Terrain[][], public readonly numLandTiles: number) { }