From fff42b61e1d81c842c412db711555383b7292d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 1 Jan 2024 14:22:39 -0600 Subject: [PATCH] fix: deleted ratings players --- src/commands/ratings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/ratings.tsx b/src/commands/ratings.tsx index 7fe6a5b23..f807ef7ff 100644 --- a/src/commands/ratings.tsx +++ b/src/commands/ratings.tsx @@ -298,8 +298,8 @@ export const ratingsCommand = new Promise( 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, ); },