fix for the NaN skillpoint bug in main
This commit is contained in:
parent
0412e19985
commit
d287a698d1
1 changed files with 1 additions and 0 deletions
|
@ -580,6 +580,7 @@ function updateStats() {
|
||||||
let delta_total = 0;
|
let delta_total = 0;
|
||||||
for (let i in skp_order) {
|
for (let i in skp_order) {
|
||||||
let value = document.getElementById(skp_order[i] + "-skp").value;
|
let value = document.getElementById(skp_order[i] + "-skp").value;
|
||||||
|
if (value === ""){value = 0; setValue(skp_order[i] + "-skp", value)}
|
||||||
let manual_assigned = 0;
|
let manual_assigned = 0;
|
||||||
if (value.includes("+")) {
|
if (value.includes("+")) {
|
||||||
let skp = value.split("+");
|
let skp = value.split("+");
|
||||||
|
|
Loading…
Reference in a new issue