mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-21 21:34:15 +00:00
Merge pull request #2288 from HabitRPG/sabe/fix
Client side of Rebirth-related fix: don't remove Wolf Eggs upon unlock
This commit is contained in:
commit
54c8f4bc3a
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,9 @@ angular.module('guideServices', []).
|
|||
$rootScope.$watch('user.flags.dropsEnabled', function(after, before) {
|
||||
if (alreadyShown(before, after)) return;
|
||||
var eggs = User.user.items.eggs || {};
|
||||
eggs['Wolf'] = 1; // This is also set on the server
|
||||
if (!eggs) {
|
||||
eggs['Wolf'] = 1; // This is also set on the server
|
||||
}
|
||||
$rootScope.modals.dropsEnabled = true;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue