diff --git a/Delta Green 2/deltagreen.html b/Delta Green 2/deltagreen.html index 662a0c8eefbd..4cebca19472d 100644 --- a/Delta Green 2/deltagreen.html +++ b/Delta Green 2/deltagreen.html @@ -6116,16 +6116,17 @@

{{#subheader}}({{subheader}}%){{/subheader}}

}); }); }); -} +}; const version_202_203 = () => { const codeversion = 2.03 const update ={} - update['version'] = codeversion - const old_named_skills=[`art`,`craft`,`pilot`,`military_science`,`science`] - const old_adaptation = [`violence_1`,`violence_2`,`violence_3`,`helplessness_1`,`helplessness_2`,`helplessness_3`] + console.log('verion:',codeversion); + update['version'] = codeversion; + const old_named_skills=['art','craft','pilot','military_science','science']; + const old_adaptation = ['violence_1','violence_2','violence_3','helplessness_1','helplessness_2','helplessness_3']; const old_named_skills_names=old_named_skills.map(x=> `${x}_name`) - getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),values =>{ + getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),(values) =>{ if (values.hasOwnProperty('art_name')){ const art_value=setMinMax(values[`art`]); const art_name = values[`art_name`]; @@ -6190,7 +6191,7 @@

{{#subheader}}({{subheader}}%){{/subheader}}

}); }); -} +}; const BondButtonColor= (bondvalue) => { diff --git a/Delta Green 2/src/js/sheetworkers_versioning.dev.js b/Delta Green 2/src/js/sheetworkers_versioning.dev.js index 22cafd1049d1..8283b18fa91e 100644 --- a/Delta Green 2/src/js/sheetworkers_versioning.dev.js +++ b/Delta Green 2/src/js/sheetworkers_versioning.dev.js @@ -338,9 +338,10 @@ var version_201_202 = function version_201_202() { var version_202_203 = function version_202_203() { var codeversion = 2.03; var update = {}; + console.log('verion:', codeversion); update['version'] = codeversion; - var old_named_skills = ["art", "craft", "pilot", "military_science", "science"]; - var old_adaptation = ["violence_1", "violence_2", "violence_3", "helplessness_1", "helplessness_2", "helplessness_3"]; + var old_named_skills = ['art', 'craft', 'pilot', 'military_science', 'science']; + var old_adaptation = ['violence_1', 'violence_2', 'violence_3', 'helplessness_1', 'helplessness_2', 'helplessness_3']; var old_named_skills_names = old_named_skills.map(function (x) { return "".concat(x, "_name"); }); diff --git a/Delta Green 2/src/js/sheetworkers_versioning.js b/Delta Green 2/src/js/sheetworkers_versioning.js index 9bea8e4030c8..3119f29f5d72 100644 --- a/Delta Green 2/src/js/sheetworkers_versioning.js +++ b/Delta Green 2/src/js/sheetworkers_versioning.js @@ -304,16 +304,17 @@ const version_201_202 = () => { }); }); }); -} +}; const version_202_203 = () => { const codeversion = 2.03 const update ={} - update['version'] = codeversion - const old_named_skills=[`art`,`craft`,`pilot`,`military_science`,`science`] - const old_adaptation = [`violence_1`,`violence_2`,`violence_3`,`helplessness_1`,`helplessness_2`,`helplessness_3`] + console.log('verion:',codeversion); + update['version'] = codeversion; + const old_named_skills=['art','craft','pilot','military_science','science']; + const old_adaptation = ['violence_1','violence_2','violence_3','helplessness_1','helplessness_2','helplessness_3']; const old_named_skills_names=old_named_skills.map(x=> `${x}_name`) - getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),values =>{ + getAttrs(old_adaptation.concat(old_named_skills_names).concat(old_named_skills),(values) =>{ if (values.hasOwnProperty('art_name')){ const art_value=setMinMax(values[`art`]); const art_name = values[`art_name`]; @@ -378,4 +379,4 @@ const version_202_203 = () => { }); }); -} \ No newline at end of file +}; \ No newline at end of file