rust/landgen/src/wavefront_collapse/generator.rs
branchtransitional_engine
changeset 16052 0fd23fc57947
parent 15956 c273908218f3
child 16053 3402b2185698
--- a/rust/landgen/src/wavefront_collapse/generator.rs	Wed Aug 28 15:34:49 2024 +0200
+++ b/rust/landgen/src/wavefront_collapse/generator.rs	Wed Aug 28 17:16:23 2024 +0200
@@ -162,6 +162,8 @@
         for tile_description in self.template.tiles.iter() {
             if let Ok(mut tiles) = Self::load_image_tiles(parameters, tile_description) {
                 result.append(&mut tiles);
+            } else {
+                eprintln!("Failed to load a tile!");
             }
         }