Skip to content

Commit

Permalink
fix(example): handle new node kind case
Browse files Browse the repository at this point in the history
  • Loading branch information
giusdp committed Jan 1, 2024
1 parent d11e3ec commit 923ef97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/talks/full.talk.ron
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
(
id: 100,
action: Leave,
actors: ["ferriss", "bevy"],
actors: ["ferris", "bevy"],
next: Some(12),
),
(
Expand Down
1 change: 1 addition & 0 deletions examples/full.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fn print(talk_comps: Query<Ref<Talk>>) {
println!("{}: {}", i + 1, choice.text);
}
}
_ => (),
};
}
}
Expand Down
1 change: 1 addition & 0 deletions examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ fn print(talk_comps: Query<Ref<Talk>>) {
NodeKind::Join => println!("--- {actors:?} enters the scene."),
NodeKind::Leave => println!("--- {actors:?} exit the scene."),
NodeKind::Choice => println!("Not implemented"),
_ => (),
};
}
}

0 comments on commit 923ef97

Please sign in to comment.