We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62fa2d commit 3b974a4Copy full SHA for 3b974a4
server/ladders.ts
@@ -361,8 +361,7 @@ class Ladder extends LadderStore {
361
let searchRange = 100;
362
const times = matches.map(([search]) => search.time);
363
const elapsed = Date.now() - Math.min(...times);
364
- if (formatid === 'gen8ou' || formatid === 'gen8oucurrent' ||
365
- formatid === 'gen8oususpecttest' || formatid === 'gen8randombattle') {
+ if (formatid === `gen${Dex.gen}ou` || formatid === `gen${Dex.gen}randombattle`) {
366
searchRange = 50;
367
}
368
0 commit comments