Skip to content

Commit e314de1

Browse files
committed
Derives Default for SpatialAudioReceiver
1 parent e3caa75 commit e314de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub struct SpatialAudioEmitter {
5050
///
5151
/// Most likely you will want to add this component to your player or you camera.
5252
/// There can only ever be one entity with this component at a given time!
53-
#[derive(Component)]
53+
#[derive(Component, Default)]
5454
#[require(Transform)]
5555
pub struct SpatialAudioReceiver;
5656

0 commit comments

Comments
 (0)