Revert change in startWork

Original change was committed accidentally. PR is focused only on applyForWork.
This commit is contained in:
Snarling 2022-04-24 06:57:31 -04:00
parent ac719dc0d2
commit 9fec222c61

@ -569,7 +569,7 @@ export function processWorkEarnings(this: IPlayer, numCycles = 1): void {
/* Working for Company */ /* Working for Company */
export function startWork(this: IPlayer, companyName: string): void { export function startWork(this: IPlayer, companyName: string): void {
if (this.isWorking) this.resetWorkStatus(CONSTANTS.WorkTypeCompany, companyName); this.resetWorkStatus(CONSTANTS.WorkTypeCompany, companyName);
this.isWorking = true; this.isWorking = true;
this.companyName = companyName; this.companyName = companyName;
this.workType = CONSTANTS.WorkTypeCompany; this.workType = CONSTANTS.WorkTypeCompany;