mirror of
https://github.com/lightsoutgames/bevy_tts.git
synced 2024-11-21 19:55:57 +00:00
Bump dependencies.
This commit is contained in:
parent
0be2b3e2d2
commit
c16a6ea484
|
@ -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"
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user