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