mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Merge pull request #4023 from Snarling/companyWorkSingFix
WORK: Add singularity check for finishing company work
This commit is contained in:
commit
7269919aa9
@ -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