Skip to content

Commit

Permalink
human players check
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Feb 25, 2024
1 parent c9a96bd commit 27dea50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/fixProMatches.mts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ for (let i = 0; i < rows.length; i++) {
await insertMatch(match, { type: 'api' });
}
}
await new Promise(resolve => setTimeout(resolve, 1000));
await new Promise(resolve => setTimeout(resolve, 500));
}
2 changes: 1 addition & 1 deletion util/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export function isProMatch(match: ApiMatch) {
return Boolean(
isSignificant(match) &&
match.leagueid &&
match.human_players === 10 &&
// match.human_players === 10 &&
(match.game_mode === 0 ||
match.game_mode === 1 ||
match.game_mode === 2 ||
Expand Down

0 comments on commit 27dea50

Please sign in to comment.