QOL fix for build reset

This commit is contained in:
b 2021-05-01 07:22:16 -07:00
parent e9ae79a047
commit c8e5e0d2ea

View file

@ -3,7 +3,7 @@ const url_tag = location.hash.slice(1);
// console.log(url_tag);
const BUILD_VERSION = "7.0.4";
const BUILD_VERSION = "7.0.5";
function setTitle() {
let text;
@ -422,10 +422,14 @@ function calculateBuild(save_skp, skp){
let equipment = [ null, null, null, null, null, null, null, null, null ];
for (let i in equipment) {
let equip = getValue(equipmentInputs[i]).trim();
if (equip === "") { equip = "No " + equipment_names[i] }
equipment[i] = equip;
if (equip === "") {
equip = "No " + equipment_names[i]
}
else {
setValue(equipmentInputs[i], equip);
}
equipment[i] = equip;
}
let powderings = [];
let errors = [];
for (const i in powderInputs) {