Skip to content

Commit e0b921f

Browse files
committed
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.
1 parent 46293ce commit e0b921f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_audio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl AddAudioSource for App {
7272
{
7373
self.add_asset::<T>()
7474
.init_resource::<Audio<T>>()
75-
.init_non_send_resource::<AudioOutput<T>>()
75+
.init_resource::<AudioOutput<T>>()
7676
.add_system_to_stage(CoreStage::PostUpdate, play_queued_audio_system::<T>)
7777
}
7878
}

0 commit comments

Comments
 (0)