fix forgotten xp

This commit is contained in:
Vlyan
2020-12-18 16:52:46 +01:00
parent 003bcc1761
commit 341df867fc
3 changed files with 4 additions and 4 deletions

View File

@@ -44,9 +44,9 @@ export class CharacterSheetL5r5e extends BaseSheetL5r5e {
sheetData.items.sort((a, b) => {
return (a.data.bought_at_rank || 0) - (b.data.bought_at_rank || 0);
});
console.log(sheetData);
// Xp spent only in current rank
sheetData.data.advancement.xp_spent_rank = this.getXpSpentInThisRank();
sheetData.data.xp_spent_rank = this.getXpSpentInThisRank();
return sheetData;
}