Bump dependencies.

This commit is contained in:
Nolan Darilek 2021-03-11 14:01:11 -06:00
parent 0be2b3e2d2
commit c16a6ea484
2 changed files with 2 additions and 2 deletions

View File

@ -13,4 +13,4 @@ tolk = ["tts/tolk"]
[dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main" }
crossbeam-channel = "0.5"
tts = { version = "0.14" }
tts = "0.15"

View File

@ -11,7 +11,7 @@ pub enum TtsEvent {
struct TtsChannel(Receiver<TtsEvent>);
fn poll_callbacks(channel: Res<TtsChannel>, mut events: ResMut<Events<TtsEvent>>) {
fn poll_callbacks(channel: Res<TtsChannel>, mut events: EventWriter<TtsEvent>) {
if let Ok(msg) = channel.0.try_recv() {
events.send(msg);
}