fixed badge description

This commit is contained in:
Endrit 2022-03-16 16:25:41 +01:00
parent ff46a89e79
commit efa419ae37

View File

@ -2,7 +2,7 @@ import { GetNitroInstance } from '..';
export const LocalizeBadgeDescription = (key: string) => 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 }`; if(!badgeDesc || !badgeDesc.length) badgeDesc = `badge_desc_${ key }`;