QOL fix for build reset
This commit is contained in:
parent
e9ae79a047
commit
c8e5e0d2ea
1 changed files with 7 additions and 3 deletions
10
builder.js
10
builder.js
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue