Move map metadata to map manifest (#1262)

## Description:

To simply the map binary data, remove height & width data to the
manifest

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:
evan
This commit is contained in:
evanpelle
2025-06-23 14:50:18 -07:00
committed by GitHub
parent ecabdfe4bc
commit 1ce282d41b
89 changed files with 1523 additions and 1259 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export class MapDisplay extends LitElement {
const mapValue = GameMapType[this.mapKey as keyof typeof GameMapType];
const data = terrainMapFileLoader.getMapData(mapValue);
this.mapWebpPath = await data.webpPath();
this.mapName = (await data.nationMap()).name;
this.mapName = (await data.manifest()).name;
} catch (error) {
console.error("Failed to load map data:", error);
} finally {