aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/database.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.ts b/src/database.ts
index 01dec3c..2acfee5 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -670,6 +670,7 @@ async function fetchAllLeaderboards(fast?: boolean): Promise<void> {
for (const leaderboard of shuffle(leaderboards))
await fetchMemberLeaderboardRaw(leaderboard)
finishedCachingRawLeaderboards = true
+ return
// shuffle so if the application is restarting many times itll still be useful
if (debug) console.debug('Caching leaderboards!')