mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Tweaked isRecalculable.
This commit is contained in:
parent
ca83023591
commit
7db821309a
1 changed files with 1 additions and 1 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue