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