mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
pets: temporary notification taht pet hatched until we can get around
that `model.emit('bulkUpdate')` causing modal redraw (bringing user
back to avatar tab)
This commit is contained in:
parent
fb0117c71e
commit
3b0f882d49
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ module.exports.app = (appExports, model) ->
|
|||
user.set 'items.eggs', eggs
|
||||
user.set 'items.food', myFood
|
||||
|
||||
alert 'Your egg hatched! Visit your stable to equip your pet.'
|
||||
|
||||
#FIXME Bug: this removes from the array properly in the browser, but on refresh is has removed all items from the arrays
|
||||
# user.remove 'items.food', foodIdx, 1
|
||||
# user.remove 'items.eggs', eggIdx, 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue