aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/recipe_diagram.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-06 21:23:04 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-06 23:03:40 +0200
commitea86b11b682500160f37b35ea8f06b081cd05036 (patch)
treeb1a2948711354b7089d507f93c04bcc3cb56c1c9 /server/tools/src/recipe_diagram.rs
parenta0e3d80b5f444c6e9474c21da9410ae0f8603e79 (diff)
downloadhurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar
hurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar.bz2
hurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar.zst
translate html book + more pages
Diffstat (limited to 'server/tools/src/recipe_diagram.rs')
-rw-r--r--server/tools/src/recipe_diagram.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/src/recipe_diagram.rs b/server/tools/src/recipe_diagram.rs
index a1ac7efd..0be75433 100644
--- a/server/tools/src/recipe_diagram.rs
+++ b/server/tools/src/recipe_diagram.rs
@@ -73,7 +73,7 @@ pub(crate) fn recipe_diagram(
.collect(),
index: ri,
};
- need.extend(&gr.inputs);
+ need.extend(gr.inputs.iter().filter(|i| !have.contains(&i)));
have.extend(&gr.outputs);
recipes.insert(gr);
}