aboutsummaryrefslogtreecommitdiff
path: root/src/database.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.ts')
-rw-r--r--src/database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts
index 4715ca9..a95878f 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -699,7 +699,7 @@ export async function updateDatabaseMember(member: CleanMember, profile: CleanFu
if (debug) console.debug('done constants..')
- const leaderboardAttributes = await getApplicableMemberLeaderboardAttributes(member)
+ const leaderboardAttributes = member.left ? {} : await getApplicableMemberLeaderboardAttributes(member)
if (debug) console.debug('done getApplicableMemberLeaderboardAttributes..', member.username, profile.name)