mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: don't count remake as loss in friends winrate
This commit is contained in:
parent
a02ac32a12
commit
42ac3f6bcc
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ class SummonerHelper {
|
||||||
let teamMates = summonerDB.mates || []
|
let teamMates = summonerDB.mates || []
|
||||||
|
|
||||||
for (const match of matches) {
|
for (const match of matches) {
|
||||||
|
if(match.result === 'Remake') continue
|
||||||
const win = match.result === 'Win'
|
const win = match.result === 'Win'
|
||||||
|
|
||||||
for (const ally of match.allyTeam) {
|
for (const ally of match.allyTeam) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue