rust/lib-hedgewars-engine/src/instance.rs
branchtransitional_engine
changeset 16051 2003b466b279
parent 15954 9502611bffc1
parent 16046 e8afb1bf2779
--- a/rust/lib-hedgewars-engine/src/instance.rs	Wed Aug 28 15:31:51 2024 +0200
+++ b/rust/lib-hedgewars-engine/src/instance.rs	Wed Aug 28 15:34:49 2024 +0200
@@ -35,6 +35,7 @@
         }
 
         world.init(template());
+        world.init_renderer();
 
         Self {
             world,
@@ -72,7 +73,7 @@
         for message in messages {
             println!("Processing message: {:?}", message);
             match message {
-                Unknown => println!("Unknown message"),
+                Unknown(data) => println!("Unknown message: {:?}", data),
                 Empty => println!("Empty message"),
                 Synced(_, _) => unimplemented!(),
                 Unsynced(_) => unimplemented!(),