mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
Add singularity check for finishing company work
This commit is contained in:
parent
853e9c2e4f
commit
c626377904
@ -51,13 +51,15 @@ export class CompanyWork extends Work {
|
||||
return false;
|
||||
}
|
||||
finish(): void {
|
||||
dialogBoxCreate(
|
||||
<>
|
||||
You finished working for {this.companyName}
|
||||
<br />
|
||||
You have <Reputation reputation={this.getCompany().playerReputation} /> reputation with them.
|
||||
</>,
|
||||
);
|
||||
if (!this.singularity) {
|
||||
dialogBoxCreate(
|
||||
<>
|
||||
You finished working for {this.companyName}
|
||||
<br />
|
||||
You have <Reputation reputation={this.getCompany().playerReputation} /> reputation with them.
|
||||
</>,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
APICopy(): Record<string, unknown> {
|
||||
|
Loading…
Reference in New Issue
Block a user