Skip to content

Commit 6847391

Browse files
author
Citrine (rocky)
committed
Fixed some karma incorrect displays
1 parent 45da6ac commit 6847391

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎templates/actors/_partials/right-tabs/biography/karma.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</li>
66
<li class="grid">
77
<div class="col-2 SR-TextLeft {{#if (gt (lossModifiersSum system.karma) (gainModifiersSum system.karma))}}incomplete{{/if}}">{{localize 'SR5.KarmaCurrent'}}{{localize 'SR5.Colons'}}</div>
8-
<div class="col-2 SR-TextLeft">{{number (minus (gainModifiersSum system.karma) (lossModifiersSum system.karma))}}</div>
8+
<div class="col-2 SR-TextLeft">{{formatNumber (minus (gainModifiersSum system.karma) (lossModifiersSum system.karma))}}</div>
99
<div class="col-2 SR-TextCenter">{{localize 'SR5.TotalGainedKarma'}}{{localize 'SR5.Colons'}}</div>
10-
<div class="col-2 SR-TextCenter">{{number (gainModifiersSum system.karma)}}</div>
10+
<div class="col-2 SR-TextCenter">{{formatNumber (gainModifiersSum system.karma)}}</div>
1111
<div class="col-2 SR-TextRight">{{localize 'SR5.TotalSpentKarma'}}{{localize 'SR5.Colons'}}</div>
12-
<div class="col-2 SR-TextRight">{{number (lossModifiersSum system.karma)}}</div>
12+
<div class="col-2 SR-TextRight">{{formatNumber (lossModifiersSum system.karma)}}</div>
1313
</li>
1414
</ul>
1515
</div>

‎templates/items/_partial/footer/footer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<span class="SR-TextUppercase SR-Bold">{{valueOrDash system.itemRating}}</span>
3838
{{else ife item.type 'itemKarma'}}
3939
<span class="SR-TextUppercase SR-Bold">{{localize 'SR5.Karma'}}{{localize 'SR5.Colons'}}</span>
40-
<span class="SR-TextUppercase SR-Bold">{{valueOrDash system.change}}</span>
40+
<span class="SR-TextUppercase SR-Bold">{{valueOrDash system.amount}}</span>
4141
{{else ife item.type 'itemNuyen'}}
4242
<span class="SR-TextUppercase SR-Bold">{{localize 'SR5.Nuyens'}}{{localize 'SR5.Colons'}}</span>
4343
<span class="SR-TextUppercase SR-Bold">{{valueOrDash (nuyen system.change)}}</span>

0 commit comments

Comments
 (0)