summaryrefslogtreecommitdiff
path: root/plugins/add-spatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/add-spatter.cpp')
-rw-r--r--plugins/add-spatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/add-spatter.cpp b/plugins/add-spatter.cpp
index ed5f47f7..dda4ca2b 100644
--- a/plugins/add-spatter.cpp
+++ b/plugins/add-spatter.cpp
@@ -167,7 +167,7 @@ static void index_items(item_table &table, df::job *job, ReactionInfo *info)
int ridx = iitem->contains[k];
auto reag = info->react->reagents[ridx];
- if (reag->matches(contents[j], info->react, iitem->reaction_id))
+ if (reag->matchesChild(contents[j], info->react, iitem->reaction_id))
table[ridx].push_back(contents[j]);
}
}