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