fixed negative skillpoints turning into NaN
This commit is contained in:
parent
7c52817dfc
commit
be94c493d4
1 changed files with 1 additions and 6 deletions
|
@ -551,11 +551,6 @@ function updateStats() {
|
|||
for (const s of skp) {
|
||||
manual_assigned += parseInt(s,10);
|
||||
}
|
||||
} else if (value.includes("-")) {
|
||||
let skp = value.split("-");
|
||||
for (const s of skp) {
|
||||
manual_assigned -= parseInt(s,10);
|
||||
}
|
||||
} else {
|
||||
manual_assigned = parseInt(value,10);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue