From 7875d1ba9348152bb6417c80fdefe683ffbd2cca Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Wed, 9 Jun 2021 16:33:21 -0400 Subject: [PATCH] Fix reputation transfering when applying for other jobs --- src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx index 87e22bcba..eddfa8b72 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx @@ -1740,7 +1740,6 @@ export function applyForJob(entryPosType, sing=false) { } } - this.companyName = company.name; this.jobs[company.name] = pos.name; document.getElementById("world-menu-header").click(); @@ -1863,7 +1862,6 @@ export function applyForEmployeeJob(sing=false) { export function applyForPartTimeEmployeeJob(sing=false) { var company = Companies[this.location]; //Company being applied to if (this.isQualified(company, CompanyPositions[posNames.PartTimeCompanyPositions[1]])) { - this.companyName = company.name; this.jobs[company.name] = posNames.PartTimeCompanyPositions[1]; document.getElementById("world-menu-header").click(); document.getElementById("world-menu-header").click();