diff --git a/resources/lang/en.json b/resources/lang/en.json index d3b950215..38c3af1ee 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -128,7 +128,7 @@ "map": { "map": "Map", "world": "World", - "worldmapgiant": "Giant World Map", + "giantworldmap": "Giant World Map", "europe": "Europe", "mena": "MENA", "northamerica": "North America", diff --git a/src/client/components/Maps.ts b/src/client/components/Maps.ts index feaa13c2e..b3200d349 100644 --- a/src/client/components/Maps.ts +++ b/src/client/components/Maps.ts @@ -6,7 +6,7 @@ import { getMapsImage } from "../utilities/Maps"; // Add map descriptions export const MapDescription: Record = { World: "World", - WorldMapGiant: "Giant World Map", + GiantWorldMap: "Giant World Map", Europe: "Europe", EuropeClassic: "Europe Classic", Mena: "MENA", diff --git a/src/client/utilities/Maps.ts b/src/client/utilities/Maps.ts index 97aaac9f8..b215f0abc 100644 --- a/src/client/utilities/Maps.ts +++ b/src/client/utilities/Maps.ts @@ -29,7 +29,7 @@ export function getMapsImage(map: GameMapType): string { switch (map) { case GameMapType.World: return world; - case GameMapType.WorldMapGiant: + case GameMapType.GiantWorldMap: return worldmapgiant; case GameMapType.Oceania: return oceania; diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index cc36057b7..102b50a32 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -61,7 +61,7 @@ const numPlayersConfig = { [GameMapType.BlackSea]: [40, 50, 30], [GameMapType.Pangaea]: [40, 20, 30], [GameMapType.World]: [150, 80, 50], - [GameMapType.WorldMapGiant]: [150, 100, 60], + [GameMapType.GiantWorldMap]: [150, 100, 60], [GameMapType.Halkidiki]: [50, 40, 30], } as const satisfies Record; diff --git a/src/core/game/Game.ts b/src/core/game/Game.ts index 173a0fb55..d893494b5 100644 --- a/src/core/game/Game.ts +++ b/src/core/game/Game.ts @@ -54,7 +54,7 @@ export const ColoredTeams: Record = { export enum GameMapType { World = "World", - WorldMapGiant = "Giant World Map", + GiantWorldMap = "Giant World Map", Europe = "Europe", EuropeClassic = "Europe Classic", Mena = "Mena", @@ -82,7 +82,7 @@ export enum GameMapType { export const mapCategories: Record = { continental: [ GameMapType.World, - GameMapType.WorldMapGiant, + GameMapType.GiantWorldMap, GameMapType.NorthAmerica, GameMapType.SouthAmerica, GameMapType.Europe, diff --git a/src/core/game/TerrainMapFileLoader.ts b/src/core/game/TerrainMapFileLoader.ts index 5edbe9b67..f3259b62d 100644 --- a/src/core/game/TerrainMapFileLoader.ts +++ b/src/core/game/TerrainMapFileLoader.ts @@ -24,7 +24,7 @@ interface NationMapModule { // Mapping from GameMap enum values to file names const MAP_FILE_NAMES: Record = { [GameMapType.World]: "WorldMap", - [GameMapType.WorldMapGiant]: "WorldMapGiant", + [GameMapType.GiantWorldMap]: "WorldMapGiant", [GameMapType.Europe]: "Europe", [GameMapType.Mena]: "Mena", [GameMapType.NorthAmerica]: "NorthAmerica",