mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
workaround? fix for #1921
simple do: if the player does work for company, quit WIP... otherwise let WIP still run
This commit is contained in:
parent
ed86577d6c
commit
33d8e6d3fe
@ -1781,7 +1781,9 @@ 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.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