mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
Add singularity check for finishing company work
This commit is contained in:
parent
853e9c2e4f
commit
c626377904
@ -51,6 +51,7 @@ export class CompanyWork extends Work {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
finish(): void {
|
finish(): void {
|
||||||
|
if (!this.singularity) {
|
||||||
dialogBoxCreate(
|
dialogBoxCreate(
|
||||||
<>
|
<>
|
||||||
You finished working for {this.companyName}
|
You finished working for {this.companyName}
|
||||||
@ -59,6 +60,7 @@ export class CompanyWork extends Work {
|
|||||||
</>,
|
</>,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
APICopy(): Record<string, unknown> {
|
APICopy(): Record<string, unknown> {
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user