diff options
Diffstat (limited to 'server/tools/src/graph.rs')
| -rw-r--r-- | server/tools/src/graph.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/src/graph.rs b/server/tools/src/graph.rs index 7e70d1c8..72eab3fe 100644 --- a/server/tools/src/graph.rs +++ b/server/tools/src/graph.rs @@ -16,13 +16,13 @@ */ use anyhow::Result; -use hurrycurry_data::build_data; +use hurrycurry_data::build_gamedata; use hurrycurry_protocol::{Demand, ItemIndex, Recipe, RecipeIndex}; pub(crate) fn graph() -> Result<()> { println!("digraph {{"); - let (data, _) = build_data("data".as_ref(), "5star", true)?; + let (data, _) = build_gamedata("data".as_ref(), "5star", true)?; for i in 0..data.item_names.len() { println!("i{i} [label=\"{}\"]", data.item_name(ItemIndex(i))) } |