From 445b93d01296d7db1d9ab85a1f30627f17f5c2d8 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Sun, 11 Jun 2017 20:33:58 -0500 Subject: [PATCH] Fixed two typoes with Company.js and Faction --- src/Company.js | 2 +- src/Faction.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Company.js b/src/Company.js index 13d27ba96..c543341e1 100644 --- a/src/Company.js +++ b/src/Company.js @@ -450,7 +450,7 @@ getNextCompanyPosition = function(currPos) { } //Police - if (currPos.positionName == CompanyPositions.PoliceOffier.positionName) { + if (currPos.positionName == CompanyPositions.PoliceOfficer.positionName) { return CompanyPositions.PoliceChief; } diff --git a/src/Faction.js b/src/Faction.js index 30d9a6f7e..b7688bd8d 100644 --- a/src/Faction.js +++ b/src/Faction.js @@ -218,7 +218,7 @@ PlayerObject.prototype.checkForFactionInvitations = function() { if (!covenantFac.isBanned && !covenantFac.isMember && !covenantFac.alreadyInvited && this.numAugmentations >= 12 && this.money >= 5000000000 && this.total_money >= 10000000000 && - this.hacking_skill >= 850 && this.total_hack >= 5000 && + this.hacking_skill >= 850 && this.total_hacking >= 5000 && this.strength >= 850 && this.total_strength >= 5000 && this.defense >= 850 && this.total_defense >= 5000 && this.dexterity >= 850 && this.total_dexterity >= 5000 &&