diff --git a/src/Mods/SecExp/js/buildingsJS.js b/src/Mods/SecExp/js/buildingsJS.js index f0ac128806045d97620b2e2d746c86042e4d8f3f..886cb7c17e40be10371834a747bbd6071ea8bcbd 100644 --- a/src/Mods/SecExp/js/buildingsJS.js +++ b/src/Mods/SecExp/js/buildingsJS.js @@ -170,7 +170,7 @@ App.SecExp.propHub = (function() { function Init() { V.SecExp.buildings.propHub = { - recuriterOffice: 0, + recruiterOffice: 0, upgrades: { campaign: 0, miniTruth: 0, @@ -201,8 +201,8 @@ App.SecExp.propHub = (function() { } else if (V.propHub || (V.SecExp.buildings.propHub && Object.entries(V.SecExp.buildings.propHub).length > 0)) { V.SecExp.buildings.propHub = V.SecExp.buildings.propHub || {}; V.SecExp.buildings.propHub.upgrades = V.SecExp.buildings.propHub.upgrades || {}; - V.SecExp.buildings.propHub.recruiterOffice = V.SecExp.buildings.propHub.recruiterOffice || V.SecExp.buildings.propHub.recuriterOffice || V.recuriterOffice || V.RecuriterOffice || 0; - delete V.SecExp.buildings.propHub.recuriterOffice; + V.SecExp.buildings.propHub.recruiterOffice = V.SecExp.buildings.propHub.recruiterOffice || V.SecExp.buildings.propHub.recruiterOffice || V.recruiterOffice || V.recruiterOffice || 0; + delete V.SecExp.buildings.propHub.recruiterOffice; V.SecExp.buildings.propHub.upgrades.campaign = V.SecExp.buildings.propHub.upgrades.campaign || V.SecExp.buildings.propHub.campaign || V.propCampaign || 0; delete V.SecExp.buildings.propHub.campaign; @@ -217,16 +217,16 @@ App.SecExp.propHub = (function() { if (V.propFocus && V.propFocus !== "none") { V.SecExp.buildings.propHub.focus = V.propFocus; } - + V.SecExp.buildings.propHub.upgrades.fakeNews = V.SecExp.buildings.propHub.upgrades.fakeNews || V.SecExp.buildings.propHub.fakeNews || V.fakeNews || 0; delete V.SecExp.buildings.propHub.fakeNews; - + V.SecExp.buildings.propHub.upgrades.controlLeaks = V.SecExp.buildings.propHub.upgrades.controlLeaks || V.SecExp.buildings.propHub.controlLeaks || V.controlLeaks || 0; delete V.SecExp.buildings.propHub.controlLeaks; - + V.SecExp.buildings.propHub.upgrades.marketInfiltration = V.SecExp.buildings.propHub.upgrades.marketInfiltration || V.SecExp.buildings.propHub.marketInfiltration || V.marketInfiltration || 0; delete V.SecExp.buildings.propHub.marketInfiltration; - + V.SecExp.buildings.propHub.upgrades.blackOps = V.SecExp.buildings.propHub.upgrades.blackOps || V.SecExp.buildings.propHub.blackOps || V.blackOps || 0; delete V.SecExp.buildings.propHub.blackOps; }