mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-10-09 08:36:14 +00:00
Gold gathering
This commit is contained in:
@@ -66,6 +66,7 @@ export class UpgradesModalWindow extends ModalWindow<Empty, Empty> {
|
||||
const level = ++this.userData.game.metaUpgrades[this.typeToLevelKey.get(upgradeType)];
|
||||
this.typeToUpgradeUI.get(upgradeType).updateLevel(level);
|
||||
|
||||
this.goldCoinsLabel.string = this.userData.game.goldCoins.toString();
|
||||
AppRoot.Instance.SaveSystem.save(this.userData);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user