fixed duplication of maps config and prettier format

This commit is contained in:
Trajkov Dimitar
2025-11-01 17:29:39 +01:00
parent 5027083c48
commit f0ff31f95a
6 changed files with 40 additions and 51 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ export interface RankedMatchConfig {
queueType: "ranked" | "unranked";
gameMode: "ffa" | "team";
playerCount: number;
teamConfig?: unknown;
teamConfig?: TeamCountConfig;
}
/**
@@ -51,7 +51,7 @@ export function buildRankedGameConfig(
disabledUnits: [],
// Team configuration
playerTeams: matchConfig.teamConfig as TeamCountConfig | undefined,
playerTeams: matchConfig.teamConfig,
};
}