diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 14:14:21 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 14:14:21 +0100 |
commit | ca456c50a6a4f35832d7b9d8d1b8f5eecee0e148 (patch) | |
tree | 78163daa8384e18b894491ffc8d18e8f69b88d5d /src | |
parent | 41f890863706ee8ede43021fe83b776b638a18b7 (diff) | |
parent | 80b2c59068f97ff69a2ba77788c4861b10535328 (diff) |
merged
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/system/AudioSystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/system/AudioSystem.cpp b/src/crepe/system/AudioSystem.cpp index d4e8b9f..3c2232f 100644 --- a/src/crepe/system/AudioSystem.cpp +++ b/src/crepe/system/AudioSystem.cpp @@ -36,6 +36,8 @@ void AudioSystem::diff_update(AudioSource & component, Sound & resource) { if (component.oneshot_play) { component.voice = context.play(resource); + context.set_loop(component.voice, component.loop); + context.set_volume(component.voice, component.volume); component.oneshot_play = false; } if (component.oneshot_stop) { |