Fixed compile errors
This commit is contained in:
@@ -34,7 +34,7 @@ Schemas.Attribute = new SimpleSchema({
|
||||
],
|
||||
},
|
||||
baseValue: {
|
||||
Number,
|
||||
type: Number,
|
||||
decimal: true,
|
||||
optional: true,
|
||||
},
|
||||
@@ -55,7 +55,7 @@ Schemas.Attribute = new SimpleSchema({
|
||||
decimal: {
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
}
|
||||
},
|
||||
parent: {
|
||||
type: Schemas.Parent
|
||||
},
|
||||
|
||||
@@ -557,7 +557,7 @@ const recomputeCharacterXP = new ValidatedMethod({
|
||||
},
|
||||
});
|
||||
|
||||
const recomputeCharacterWeightCarried = new ValidatedMethod){
|
||||
const recomputeCharacterWeightCarried = new ValidatedMethod({
|
||||
name: "Character.methods.recomputeCharacterWeightCarried",
|
||||
|
||||
validate: new SimpleSchema({
|
||||
@@ -604,4 +604,4 @@ const recomputeCharacterWeightCarried = new ValidatedMethod){
|
||||
Characters.update(charId, {$set: {weightCarried}})
|
||||
return weightCarried;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -146,7 +146,7 @@ getDefaultCharacterDocs = function(charId){
|
||||
_id: Random.id,
|
||||
charId,
|
||||
name: dm.name,
|
||||
variableName = dm.variableName,
|
||||
variableName: dm.variableName,
|
||||
parent: _.clone(baseParent),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user