diff --git a/src/client/utilities/Maps.ts b/src/client/utilities/Maps.ts index a7306aaa0..9b94ff166 100644 --- a/src/client/utilities/Maps.ts +++ b/src/client/utilities/Maps.ts @@ -5,7 +5,7 @@ import mena from "../../../resources/maps/Mena.png"; import northAmerica from "../../../resources/maps/NorthAmerica.png"; import blackSea from "../../../resources/maps/BlackSea.png"; import africa from "../../../resources/maps/Africa.png"; - main + import { GameMapType } from "../../core/game/Game"; export function getMapsImage(map: GameMapType): string { @@ -22,10 +22,8 @@ export function getMapsImage(map: GameMapType): string { return northAmerica; case GameMapType.BlackSea: return blackSea; - case GameMapType.Africa - return Africa; - - main + case GameMapType.Africa: + return africa; // Corrected the case for Africa default: return ""; }