Update index.coffee

This commit is contained in:
hairlessbear 2015-04-24 04:32:47 -04:00
parent de8facd58e
commit e9e0ff52e4

View file

@ -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) ->