From efa419ae37883ededfc12659dcedfc19c4d696ef Mon Sep 17 00:00:00 2001 From: Endrit Date: Wed, 16 Mar 2022 16:25:41 +0100 Subject: [PATCH] fixed badge description --- src/api/utils/LocalizeBadgeDescription.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/utils/LocalizeBadgeDescription.ts b/src/api/utils/LocalizeBadgeDescription.ts index 94f50cb7..04fd7df9 100644 --- a/src/api/utils/LocalizeBadgeDescription.ts +++ b/src/api/utils/LocalizeBadgeDescription.ts @@ -2,7 +2,7 @@ import { GetNitroInstance } from '..'; export const LocalizeBadgeDescription = (key: string) => { - let badgeDesc = GetNitroInstance().localization.getBadgeName(key); + let badgeDesc = GetNitroInstance().localization.getBadgeDesc(key); if(!badgeDesc || !badgeDesc.length) badgeDesc = `badge_desc_${ key }`;