diff --git a/module/rolldata-ajustements.js b/module/rolldata-ajustements.js index 1c0eb58f..9657ea98 100644 --- a/module/rolldata-ajustements.js +++ b/module/rolldata-ajustements.js @@ -165,7 +165,7 @@ export class RollDataAjustements { let sum = 0; for (var key in ajustements) { if (ajustements[key].used && !ajustements[key].descr) { - sum += ajustements[key].value; + sum += parseInt(ajustements[key].value); } } return sum;