diff --git a/src/model/Match.ts b/src/model/Match.ts index 5ebf281..6afd166 100644 --- a/src/model/Match.ts +++ b/src/model/Match.ts @@ -95,6 +95,16 @@ export class Match { this.tools.watermarkInfo.customTextEnabled = this.tools.watermarkInfo.customTextEnabled && !!this.orgIsSupporter; + if ( + this.tools.roundWinBox.type == "sponsors" && + this.tools.roundWinBox.sponsors.length > 1 && + !this.orgIsSupporter + ) { + this.tools.roundWinBox.sponsors = [this.tools.roundWinBox.sponsors[0]]; + this.tools.roundWinBox.sponsors[0].roundCeremony = ["all"]; + this.tools.roundWinBox.sponsors[0].wonTeam = "all"; + } + if (process.env.USE_BACKEND === "true") { this.organizationId = data.organizationId || ""; this.updateNameOverridesAndPlayercams().then(() => {});