mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
Fix missing unlock logic from grunt commit
This commit is contained in:
parent
883abf34dd
commit
c25394ad45
1 changed files with 3 additions and 0 deletions
3
dist/habitrpg-shared.js
vendored
3
dist/habitrpg-shared.js
vendored
|
|
@ -11936,6 +11936,9 @@ var process=require("__browserify_process");(function() {
|
|||
if (!user.flags.classSelected && user.stats.lvl >= 10) {
|
||||
return user.flags.classSelected;
|
||||
}
|
||||
if (!user.flags.rebirthEnabled && (user.stats.lvl >= 50 || user.achievements.ultimateGear || user.achievements.beastMaster)) {
|
||||
user.flags.rebirthEnabled = true;
|
||||
}
|
||||
},
|
||||
/*
|
||||
------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue