From 2134c52ab5cbf5dde90a47bdade7f0c0119331ed Mon Sep 17 00:00:00 2001 From: harudagondi Date: Wed, 18 Jan 2023 17:20:26 +0000 Subject: [PATCH] AudioOutput is actually a normal resource now, not a non-send resource (#7262) # Objective - Fixes #7260 ## Solution - #6649 used `init_non_send_resource` for `AudioOutput`, but this is before #6436 was merged. - Use `init_resource` instead. --- crates/bevy_audio/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_audio/src/lib.rs b/crates/bevy_audio/src/lib.rs index f91c60a9b55eeb..eb7e3b32229013 100644 --- a/crates/bevy_audio/src/lib.rs +++ b/crates/bevy_audio/src/lib.rs @@ -72,7 +72,7 @@ impl AddAudioSource for App { { self.add_asset::() .init_resource::>() - .init_non_send_resource::>() + .init_resource::>() .add_system_to_stage(CoreStage::PostUpdate, play_queued_audio_system::) } }