diff --git a/src/lib.rs b/src/lib.rs index 45e2a1c..b5980b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -590,7 +590,7 @@ fn update_sound_playback_state(query: Query<&Sound>) { } } -fn remove_sound(mut last_buffer: ResMut, mut removed: RemovedComponents) { +fn remove_sound(mut last_buffer: ResMut, mut removed: RemovedComponents) { for entity in removed.iter() { last_buffer.remove(&entity); }