mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +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 {
|
||||||
|
if (this.isWorking == true && this.workType == "Working for Company" && this.companyName == company) {
|
||||||
this.isWorking = false;
|
this.isWorking = false;
|
||||||
this.companyName = "";
|
this.companyName = "";
|
||||||
|
}
|
||||||
delete this.jobs[company];
|
delete this.jobs[company];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user