mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
typo
This commit is contained in:
parent
c91b628adf
commit
0183e4cd01
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ cron = (model) ->
|
||||||
after = {hp:userObj.stats.hp, lastCron:userObj.lastCron}
|
after = {hp:userObj.stats.hp, lastCron:userObj.lastCron}
|
||||||
userObj.stats.hp = before.hp
|
userObj.stats.hp = before.hp
|
||||||
|
|
||||||
model.set "users.#{userObj.id}", userObj, ->
|
model.set "users.#{userObj.id}", userObj
|
||||||
resetDom(model)
|
resetDom(model)
|
||||||
setTimeout (-> user.set 'stats.hp', after.hp), 1000 # animate hp loss
|
setTimeout (-> user.set 'stats.hp', after.hp), 1000 # animate hp loss
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue