Skip to content

Commit 9564d22

Browse files
authored
Merge pull request #150 from mnmaita/mnmaita/default-derives
Derives Default for SpatialAudioReceiver
2 parents e3caa75 + e314de1 commit 9564d22

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)