Fixed all effects getting added to unassigned effects even when they were assigned

This commit is contained in:
Thaum Rystra
2020-04-16 15:48:07 +02:00
parent 1717ee4bc7
commit 2164174218

View File

@@ -58,7 +58,7 @@ export default class ComputationMemo {
targets.forEach(target => {
target.computationDetails.effects.push(prop);
});
if (!targets.length){
if (!targets.size){
this.unassignedEffects.push(prop);
}
}