fix: remake games with new gameDuration unit (ms)

This commit is contained in:
Kalane 2021-09-18 00:10:46 +02:00
parent 38439d8b9c
commit 1d01520ef4

View file

@ -20,7 +20,7 @@ class MatchParser {
gameDuration: Math.round(match.info.gameDuration / 1000),
})
const isRemake = match.info.gameDuration < 300
const isRemake = match.info.gameDuration < 300000
// - 2x MatchTeam : Red and Blue
for (const team of match.info.teams) {