fix: deleted ratings players

This commit is contained in:
TrèsAbhi committed 2024-01-01 14:22:39 -06:00
1 parent 90ee71c9ca
commit fff42b61e1
1 file changed
+2 -2
+2 -2
View File
@@ -298,8 +298,8 @@ export const ratingsCommand = new Promise<CommandRegistryRaw>(
position: firstPlayerIndex + index + 1,
clan: clanData[player.id]?.clan?.tag,
nickname:
clanData[player.id]?.account_name ??
`Unknown Player ${player.id}`,
clanData[index]?.account_name ??
`Deleted ${player.id}`,
}) satisfies SimplifiedPlayer,
);
},