()
| 492 | isAILeagueArena () { return _.find(utils.arenas, { slug: this.levelID }) } |
| 493 | |
| 494 | updateSpectateList () { |
| 495 | if (!this.level?.isType('ladder')) return |
| 496 | this.leaderboardRankings = this.ladderTab?.rankings || [] |
| 497 | this.renderSelectors('.spectate-players') |
| 498 | } |
| 499 | |
| 500 | onClickNewSpectateButton () { |
| 501 | const player1Index = parseInt(this.$el.find('#spectate-player-1').val().split(':')[0]) - 1 |