Skip to content

Commit

Permalink
Fix mapping (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera authored Nov 26, 2024
1 parent d7af142 commit fe556ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unitStats/mappingSbps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,23 @@ const mapExtensions = (root: any, sbps: SbpsType) => {
// screenName: resolveLocstring(vetExtInfo[0].veterancy_rank.brief_text) || "",
screenName:
resolveTextFormatterLocstring(vetExtInfo[0].veterancy_rank.brief_text_formatter) ||
resolveLocstring(vetExtInfo[0].veterancy_rank.brief_text) ||
"",
};
sbps.veterancyInfo.two = {
exp: vetExtInfo[1].veterancy_rank.veterancy_value || 0,
// screenName: resolveLocstring(vetExtInfo[1].veterancy_rank.brief_text) || "",
screenName:
resolveTextFormatterLocstring(vetExtInfo[1].veterancy_rank.brief_text_formatter) ||
resolveLocstring(vetExtInfo[1].veterancy_rank.brief_text) ||
"",
};
sbps.veterancyInfo.three = {
exp: vetExtInfo[2].veterancy_rank.veterancy_value || 0,
// screenName: resolveLocstring(vetExtInfo[2].veterancy_rank.brief_text) || "",
screenName:
resolveTextFormatterLocstring(vetExtInfo[2].veterancy_rank.brief_text_formatter) ||
resolveLocstring(vetExtInfo[2].veterancy_rank.brief_text) ||
"",
};
}
Expand Down

0 comments on commit fe556ab

Please sign in to comment.