mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
reset armor & weapon on too
This commit is contained in:
parent
d96d676219
commit
4702b64fe4
1 changed files with 2 additions and 0 deletions
|
|
@ -287,6 +287,8 @@ ready (model) ->
|
|||
model.set('_user.stats.money', 0)
|
||||
model.set('_user.stats.exp', 0)
|
||||
model.set('_user.stats.lvl', 1)
|
||||
model.set('_user.items.armor',0)
|
||||
model.set('_user.items.weapon',0)
|
||||
model.set('_user.balance', 2) if model.get('_user.balance') < 2 #only if they haven't manually bought tokens
|
||||
|
||||
exports.closeKickstarterNofitication = (e, el) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue