Add singularity check for finishing company work

This commit is contained in:
Snarling 2022-08-22 20:16:45 -04:00
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> {