Fix Hp Stat Translation

This commit is contained in:
Kiriox 2024-05-01 12:26:07 +02:00 committed by GitHub
parent c5cc4445c4
commit e39b790ac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -674,9 +674,7 @@ export default class SummaryUiHandler extends UiHandler {
const stats = Utils.getEnumValues(Stat) as Stat[]; const stats = Utils.getEnumValues(Stat) as Stat[];
stats.forEach((stat, s) => { stats.forEach((stat, s) => {
const statName = stat !== Stat.HP const statName = getStatName(stat);
? getStatName(stat)
: 'HP';
const rowIndex = s % 3; const rowIndex = s % 3;
const colIndex = Math.floor(s / 3); const colIndex = Math.floor(s / 3);