Fixed damage properties by name failing if no properties were found
This commit is contained in:
@@ -50,7 +50,7 @@ const damagePropertiesByName = new ValidatedMethod({
|
|||||||
damagePropertyWork({property, operation, value});
|
damagePropertyWork({property, operation, value});
|
||||||
lastProperty = property;
|
lastProperty = property;
|
||||||
});
|
});
|
||||||
recomputePropertyDependencies(lastProperty);
|
if (lastProperty) recomputePropertyDependencies(lastProperty);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user