mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +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;
|
||||
}
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user