From eb9a0a3f0ed5d59b76ff7263111c7c8d918e94e1 Mon Sep 17 00:00:00 2001 From: danielyxie Date: Thu, 21 Sep 2017 16:29:53 -0500 Subject: [PATCH] Loading agent job fix --- dist/bundle.js | 2 +- src/Player.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index d3741b508..d41fa2b82 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1737,7 +1737,7 @@ PlayerObject.prototype.getNextCompanyPosition = function(company, entryPosType) (this.companyPosition.isSecurityEngineerJob() && entryPosType.isSecurityEngineerJob()) || (this.companyPosition.isNetworkEngineerJob() && entryPosType.isNetworkEngineerJob()) || (this.companyPosition.isSecurityJob() && entryPosType.isSecurityJob()) || - (this.companyPosition.isAgentJob() && entryPosTypeisAgentJob()) || + (this.companyPosition.isAgentJob() && entryPosType.isAgentJob()) || (this.companyPosition.isSoftwareConsultantJob() && entryPosType.isSoftwareConsultantJob()) || (this.companyPosition.isBusinessConsultantJob() && entryPosType.isBusinessConsultantJob()) || (this.companyPosition.isPartTimeJob() && entryPosType.isPartTimeJob())) { diff --git a/src/Player.js b/src/Player.js index 674e5f0a6..da93da6e2 100644 --- a/src/Player.js +++ b/src/Player.js @@ -1650,7 +1650,7 @@ PlayerObject.prototype.getNextCompanyPosition = function(company, entryPosType) (this.companyPosition.isSecurityEngineerJob() && entryPosType.isSecurityEngineerJob()) || (this.companyPosition.isNetworkEngineerJob() && entryPosType.isNetworkEngineerJob()) || (this.companyPosition.isSecurityJob() && entryPosType.isSecurityJob()) || - (this.companyPosition.isAgentJob() && entryPosTypeisAgentJob()) || + (this.companyPosition.isAgentJob() && entryPosType.isAgentJob()) || (this.companyPosition.isSoftwareConsultantJob() && entryPosType.isSoftwareConsultantJob()) || (this.companyPosition.isBusinessConsultantJob() && entryPosType.isBusinessConsultantJob()) || (this.companyPosition.isPartTimeJob() && entryPosType.isPartTimeJob())) {