mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: remake games with new gameDuration unit (ms)
This commit is contained in:
parent
38439d8b9c
commit
1d01520ef4
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class MatchParser {
|
||||||
gameDuration: Math.round(match.info.gameDuration / 1000),
|
gameDuration: Math.round(match.info.gameDuration / 1000),
|
||||||
})
|
})
|
||||||
|
|
||||||
const isRemake = match.info.gameDuration < 300
|
const isRemake = match.info.gameDuration < 300000
|
||||||
|
|
||||||
// - 2x MatchTeam : Red and Blue
|
// - 2x MatchTeam : Red and Blue
|
||||||
for (const team of match.info.teams) {
|
for (const team of match.info.teams) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue