mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02: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