mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-16 18:12:24 +01:00
clear Player.companyName if set to company when quiting work for said
company
This commit is contained in:
@ -1793,6 +1793,9 @@ export function quitJob(this: IPlayer, company: string): void {
|
||||
this.isWorking = false;
|
||||
this.companyName = "";
|
||||
}
|
||||
if (this.companyName === company) {
|
||||
this.companyName = "";
|
||||
}
|
||||
delete this.jobs[company];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user