rust/lib-hwengine-future/src/lib.rs
changeset 16065 33f09636018b
parent 16062 288df7b85efc
child 16073 5d302b12d837
--- a/rust/lib-hwengine-future/src/lib.rs	Mon Jan 27 14:06:10 2025 +0100
+++ b/rust/lib-hwengine-future/src/lib.rs	Mon Jan 27 15:48:24 2025 +0100
@@ -103,7 +103,7 @@
     let mut random_numbers_gen = LaggedFibonacciPRNG::new(seed.as_bytes());
 
     let yaml_templates =
-        fs::read_to_string(data_path.join(Path::new("wfc_templates.yaml")).as_path())
+        fs::read_to_string(data_path.join(Path::new("wfc_templates.toml")).as_path())
             .expect("Error reading map templates file");
     let mut map_gen = MapGenerator::<WfcTemplate>::new(data_path);
     map_gen.import_yaml_templates(&yaml_templates);