mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #2493 from TheMas3212/fix-2492
clear Player.companyName if set to company when quiting work for said company
This commit is contained in:
commit
74504a68f8
@ -1797,6 +1797,9 @@ export function quitJob(this: IPlayer, company: string): void {
|
||||
this.isWorking = false;
|
||||
this.companyName = "";
|
||||
}
|
||||
if (this.companyName === company) {
|
||||
this.companyName = "";
|
||||
}
|
||||
delete this.jobs[company];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user