fix: archive league neighbors

This commit is contained in:
TrèsAbhi committed 2024-01-19 15:28:02 -06:00
1 parent 5ca9e29f3d
commit ff9bda29cf
1 file changed
+4 -2
+4 -2
View File
@@ -384,8 +384,10 @@ export const ratingsCommand = new Promise<CommandRegistryRaw>(
id: player.id,
score: player.score,
position: playerIndex + index + 1,
clan: clanData[player.id]!.clan?.tag,
nickname: clanData[player.id]!.account_name,
clan: clanData[index]?.clan?.tag,
nickname: clanData[index]
? clanData[index]!.account_name
: `Deleted ${player.id}`,
}));
},
);