From 923ef97f41039c0ec917b979dcdb407634615e50 Mon Sep 17 00:00:00 2001 From: Giuseppe De Palma Date: Mon, 1 Jan 2024 18:18:04 +0100 Subject: [PATCH] fix(example): handle new node kind case --- assets/talks/full.talk.ron | 2 +- examples/full.rs | 1 + examples/simple.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/talks/full.talk.ron b/assets/talks/full.talk.ron index 589cb59..0a2e819 100644 --- a/assets/talks/full.talk.ron +++ b/assets/talks/full.talk.ron @@ -69,7 +69,7 @@ ( id: 100, action: Leave, - actors: ["ferriss", "bevy"], + actors: ["ferris", "bevy"], next: Some(12), ), ( diff --git a/examples/full.rs b/examples/full.rs index 742db27..fac8ebf 100644 --- a/examples/full.rs +++ b/examples/full.rs @@ -82,6 +82,7 @@ fn print(talk_comps: Query>) { println!("{}: {}", i + 1, choice.text); } } + _ => (), }; } } diff --git a/examples/simple.rs b/examples/simple.rs index 8bb67c2..0c3aeea 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -93,6 +93,7 @@ fn print(talk_comps: Query>) { NodeKind::Join => println!("--- {actors:?} enters the scene."), NodeKind::Leave => println!("--- {actors:?} exit the scene."), NodeKind::Choice => println!("Not implemented"), + _ => (), }; } }