This commit is contained in:
Valentin Kaelin 2020-09-28 20:10:44 +02:00
parent b936f0f111
commit dc6b7617d3

View file

@ -212,7 +212,6 @@ class MatchTransformer {
const teamSupports = team.filter(p => p.support && !p.jungle) const teamSupports = team.filter(p => p.support && !p.jungle)
const support = teamSupports.length === 1 ? teamSupports[0].champion : null const support = teamSupports.length === 1 ? teamSupports[0].champion : null
return RoleIdentificationService.getRoles(this.championRoles, team.map(p => p.champion), jungle, support)
return RoleIdentificationService.getRoles(this.championRoles, team.map(p => p.champion), null, support) return RoleIdentificationService.getRoles(this.championRoles, team.map(p => p.champion), null, support)
} }