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,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 {