mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-31 19:20:25 +00:00
Update index.coffee
This commit is contained in:
parent
de8facd58e
commit
e9e0ff52e4
1 changed files with 1 additions and 1 deletions
|
|
@ -1483,7 +1483,7 @@ api.wrap = (user, main=true) ->
|
||||||
_.merge plan.consecutive, {count:0, offset:0, gemCapExtra:0}
|
_.merge plan.consecutive, {count:0, offset:0, gemCapExtra:0}
|
||||||
user.markModified? 'purchased.plan'
|
user.markModified? 'purchased.plan'
|
||||||
|
|
||||||
# User is resting at the inn. On cron, buffs are cleared and each daily is unchecked without performing damage (fixes issue #5070)
|
# User is resting at the inn. On cron, buffs are cleared and all dailies are reset without performing damage (fixes issue #5070)
|
||||||
if user.preferences.sleep is true
|
if user.preferences.sleep is true
|
||||||
user.stats.buffs = clearBuffs
|
user.stats.buffs = clearBuffs
|
||||||
user.dailys.forEach (daily) ->
|
user.dailys.forEach (daily) ->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue