Fixed two typoes with Company.js and Faction

This commit is contained in:
Daniel Xie 2017-06-11 20:33:58 -05:00
parent 21c1da62f1
commit 445b93d012
2 changed files with 2 additions and 2 deletions

@ -450,7 +450,7 @@ getNextCompanyPosition = function(currPos) {
}
//Police
if (currPos.positionName == CompanyPositions.PoliceOffier.positionName) {
if (currPos.positionName == CompanyPositions.PoliceOfficer.positionName) {
return CompanyPositions.PoliceChief;
}

@ -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 &&