mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #2167 from Hedrauta/fix#1921
workaround? fix for #1921
This commit is contained in:
commit
f39524b77a
@ -1788,8 +1788,10 @@ export function getNextCompanyPosition(
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function quitJob(this: IPlayer, company: string): void {
|
export function quitJob(this: IPlayer, company: string): void {
|
||||||
this.isWorking = false;
|
if (this.isWorking == true && this.workType == "Working for Company" && this.companyName == company) {
|
||||||
this.companyName = "";
|
this.isWorking = false;
|
||||||
|
this.companyName = "";
|
||||||
|
}
|
||||||
delete this.jobs[company];
|
delete this.jobs[company];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user