Merge pull request #1002 from MrConcept/master

Merge Master
This commit is contained in:
Philip How 2013-05-20 11:09:37 -07:00
commit b77a62e915

View file

@ -38,7 +38,7 @@ module.exports.app = (appExports, model) ->
taskTypes = ['habit', 'daily', 'todo', 'reward']
batch.set 'tasks', {}
_.each taskTypes, (type) -> batch.set "#{type}Ids", []
batch.set 'balance', 1 if user.get('balance') < 1 #only if they haven't manually bought gems
#batch.set 'balance', 1 if user.get('balance') < 1 #only if they haven't manually bought gems
# Reset stats
batch.set 'stats.hp', 50