diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx index 1a11cb8b0..aeda15ac4 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx @@ -1781,10 +1781,10 @@ export function getNextCompanyPosition( } export function quitJob(this: IPlayer, company: string): void { - if (this.isWorking == true && this.workType == "Working for Company") { + if (this.isWorking == true && this.workType == "Working for Company" && this.companyName == company) { this.isWorking = false; + this.companyName = ""; } - this.companyName = ""; delete this.jobs[company]; }