Commit 38071feb authored by VINXIS's avatar VINXIS
Browse files

hopefully the match bans show up on set 3

parent 3a3bddcc
Pipeline #4352 passed with stages
in 7 minutes and 28 seconds
......@@ -339,7 +339,7 @@ export default {
if (this.selectedStage === "QUALIFIERS")
return [];
if (this.selectedMatch.sets && this.selectedMatch.sets[this.set-1]) {
if (this.selectedMatch.bestOf && this.set === this.selectedMatch.bestOf)
if (this.selectedMatch.bestOf && this.set === this.selectedMatch.bestOf === 5)
return this.selectedMatch.sets[this.set-1].bans.map((beatmap) => beatmap.map);
return this.selectedMatch.bans ? this.selectedMatch.bans.concat(this.selectedMatch.sets[this.set-1].bans).map((beatmap) => beatmap.map) : this.selectedMatch.sets[this.set-1].bans.map((beatmap) => beatmap.map);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment