Better late game items (fix #6) :)
This commit is contained in:
@@ -161,7 +161,7 @@ function handleMatchItems(timeline, participant: any, participantIndex : number,
|
||||
}
|
||||
|
||||
// Late game items
|
||||
for(let item of items.slice(4)) {
|
||||
for(let item of items.slice(3)) {
|
||||
const already = builds.lateGame.find((x) => x.data == item)
|
||||
if(already == undefined) builds.lateGame.push({count:1, data:item})
|
||||
else already.count += 1
|
||||
|
||||
Reference in New Issue
Block a user