Remove unnecessary check in corporation.unlock

This commit is contained in:
Staszek Welsh 2022-06-01 13:03:32 +01:00
parent eb46e4d156
commit df98bcc748

@ -281,10 +281,8 @@ export class Corporation {
this.funds = this.funds - price; this.funds = this.funds - price;
// Apply effects for one-time upgrades // Apply effects for one-time upgrades
if (upgN === 5 || upgN === 6) {
this.updateDividendTax(); this.updateDividendTax();
} }
}
//Levelable upgrades //Levelable upgrades
upgrade(upgrade: CorporationUpgrade): void { upgrade(upgrade: CorporationUpgrade): void {