mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
remove unnecessary logs, update upgrade cost after upgrading
This commit is contained in:
@@ -17,6 +17,10 @@ export class Guild {
|
||||
this.level += 1;
|
||||
if (this.level > 7) {
|
||||
this.displayUpgradeCost = "Max level";
|
||||
} else {
|
||||
const newCost = this.getUpgradeCost();
|
||||
if (newCost === null) return;
|
||||
this.displayUpgradeCost = newCost;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user