diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-11 18:54:56 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-11 18:54:56 +0100 |
commit | 904b853a277c3fcd0f84561b6e45bcbd4f0b25c6 (patch) | |
tree | 84b8b3d3c29471e4edc2707444b21ac406ee2799 /src/crepe/system/AudioSystem.cpp | |
parent | 876746db205b259430b6b438227c986dbf0cb59d (diff) | |
parent | 30c17c98e54c1534664de08ca3838c40c859d166 (diff) |
merge master
Diffstat (limited to 'src/crepe/system/AudioSystem.cpp')
-rw-r--r-- | src/crepe/system/AudioSystem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/system/AudioSystem.cpp b/src/crepe/system/AudioSystem.cpp index ddba268..b1aa0f8 100644 --- a/src/crepe/system/AudioSystem.cpp +++ b/src/crepe/system/AudioSystem.cpp @@ -30,8 +30,7 @@ void AudioSystem::diff_update(AudioSource & component, Sound & resource) { context.stop(component.voice); return; } - if (component.play_on_awake) - component.oneshot_play = true; + if (component.play_on_awake) component.oneshot_play = true; } if (!component.active) return; |