diff --git a/src/core/configuration/ColorAllocator.ts b/src/core/configuration/ColorAllocator.ts index 97d24eadf..e4bef8d36 100644 --- a/src/core/configuration/ColorAllocator.ts +++ b/src/core/configuration/ColorAllocator.ts @@ -48,7 +48,7 @@ export class ColorAllocator { case ColoredTeams.Bot: return botTeamColors; default: - throw new Error(`Unknown team color: ${team}`); + return [this.assignColor(team)]; } }