diff --git a/src/stores/trainingStore.ts b/src/stores/trainingStore.ts index 3fa76e9..98e8895 100644 --- a/src/stores/trainingStore.ts +++ b/src/stores/trainingStore.ts @@ -669,6 +669,7 @@ export const useTrainingStore = defineStore({ training.level++ training.xp -= training.xpToNextLevel training.xpToNextLevel = this.getXpToNextLevel(training.level) + if (training.xp >= training.xpToNextLevel) this.addLevel(skill) if (skill === Skill.Mining) this.checkMiningMilestones() if (skill === Skill.Foraging) this.checkForagingMilestones()