From 793d959a9a41aef46c4ff754b7cedde921c0de4b Mon Sep 17 00:00:00 2001 From: Paul Sommer Date: Fri, 20 Mar 2026 22:26:19 +0100 Subject: [PATCH 1/2] feat: explicitly check for spectra+ if user has more than 1 sponsor --- src/model/Match.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/model/Match.ts b/src/model/Match.ts index 5ebf281..c05bcee 100644 --- a/src/model/Match.ts +++ b/src/model/Match.ts @@ -95,6 +95,12 @@ 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.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(() => {}); From c26f9bcd86ebe222fcce05901f5f8a2bd3232fc5 Mon Sep 17 00:00:00 2001 From: Paul Sommer Date: Fri, 20 Mar 2026 22:28:14 +0100 Subject: [PATCH 2/2] fix: check for isSupporter, haha I forgot... --- src/model/Match.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/model/Match.ts b/src/model/Match.ts index c05bcee..6afd166 100644 --- a/src/model/Match.ts +++ b/src/model/Match.ts @@ -95,7 +95,11 @@ 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) { + 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";