Removed reference to character helper
This commit is contained in:
@@ -107,7 +107,8 @@ Template.resource.helpers({
|
|||||||
return !valuePositive;
|
return !valuePositive;
|
||||||
},
|
},
|
||||||
getColor: function(){
|
getColor: function(){
|
||||||
if (this.char.attributeValue(this.name) > 0){
|
var value = Characters.calculate.attributeValue(this.char._id, this.name);
|
||||||
|
if (value > 0){
|
||||||
return this.color;
|
return this.color;
|
||||||
} else {
|
} else {
|
||||||
return "grey";
|
return "grey";
|
||||||
|
|||||||
Reference in New Issue
Block a user