diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-06 13:50:44 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-06 13:50:44 +0100 | 
| commit | 1f799c9cab4374e75e7a629874aa922faa14dae5 (patch) | |
| tree | 8c21fbcef3a9a998104b75fdc531055dee34dbb1 /src | |
| parent | 1433845c6eb04c7b017dfad1b091f20e6ceaf823 (diff) | |
fix AudioSystemmax/game
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) { |