Sync more properties on sound creation.
This commit is contained in:
parent
83ee2635d1
commit
cc42081733
|
@ -145,6 +145,9 @@ fn add_sound_icon_sounds(
|
|||
pitch: icon.pitch,
|
||||
looping,
|
||||
state: SoundState::Stopped,
|
||||
reference_distance: icon.reference_distance,
|
||||
max_distance: icon.max_distance,
|
||||
rolloff_factor: icon.rolloff_factor,
|
||||
..Default::default()
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user