mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-29 03:44:40 +00:00
fixed duplication of maps config and prettier format
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user