mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Added fix for multiple level up (#9330)
This commit is contained in:
@@ -412,7 +412,7 @@ export default {
|
|||||||
this.$store.dispatch('tasks:fetchUserTasks', {forceLoad: true}),
|
this.$store.dispatch('tasks:fetchUserTasks', {forceLoad: true}),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (this.levelBeforeYesterdailies < this.user.stats.lvl) {
|
if (this.levelBeforeYesterdailies > 0 && this.levelBeforeYesterdailies < this.user.stats.lvl) {
|
||||||
this.showLevelUpNotifications(this.user.stats.lvl);
|
this.showLevelUpNotifications(this.user.stats.lvl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user