Default gain to 1.
This commit is contained in:
parent
b2e4f9b729
commit
32a04f2af4
|
@ -28,7 +28,7 @@ impl Default for SoundIcon {
|
||||||
let seconds = random::<f32>() + 4.5;
|
let seconds = random::<f32>() + 4.5;
|
||||||
let mut icon = Self {
|
let mut icon = Self {
|
||||||
sound: "".into(),
|
sound: "".into(),
|
||||||
gain: 0.3,
|
gain: 1.,
|
||||||
pitch: 1.,
|
pitch: 1.,
|
||||||
reference_distance: None,
|
reference_distance: None,
|
||||||
max_distance: None,
|
max_distance: None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user