Merge branch 'dev' into feature/achievements

This commit is contained in:
hydroflame
2022-01-08 14:51:36 -05:00
committed by GitHub
267 changed files with 5275 additions and 796 deletions

View File

@@ -1789,8 +1789,10 @@ export function getNextCompanyPosition(
}
export function quitJob(this: IPlayer, company: string): void {
this.isWorking = false;
this.companyName = "";
if (this.isWorking == true && this.workType == "Working for Company" && this.companyName == company) {
this.isWorking = false;
this.companyName = "";
}
delete this.jobs[company];
}