From 7db821309a85996a55a73fa44ce709e65428fcf4 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Fri, 15 Aug 2014 10:10:03 -0700 Subject: [PATCH] Tweaked isRecalculable. --- server/achievements/Achievement.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/achievements/Achievement.coffee b/server/achievements/Achievement.coffee index 4fae21adf..07a492a7c 100644 --- a/server/achievements/Achievement.coffee +++ b/server/achievements/Achievement.coffee @@ -29,7 +29,7 @@ AchievementSchema.methods.getExpFunction = -> parameters = @get('function')?.parameters or jsonschema.properties.function.default.parameters return utils.functionCreators[kind](parameters) if kind of utils.functionCreators -AchievementSchema.methods.isRecalculable = -> @get('recalculable') is true +AchievementSchema.methods.isRecalculable = -> @get('recalculable') isnt false AchievementSchema.statics.jsonschema = jsonschema AchievementSchema.statics.earnedAchievements = {}