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