Fixed a couple of places where "Buff" should've been "Condition"

This commit is contained in:
Jacob
2017-09-05 13:56:15 +01:00
parent 87583fdac6
commit e2933c2df5
4 changed files with 10 additions and 13 deletions

View File

@@ -77,7 +77,7 @@ Meteor.methods({
var condition = getCondition(conditionName);
//remove the buff
var buff = _.extend(
{charId: charId, type: "inate"}, condition.buff
{charId: charId}, condition.buff
);
Conditions.remove(buff);
//dont remove the effects, they get removed automatically through parenting