aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AudioSystem.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:27:24 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:27:24 +0100
commitbea86a6fcea272d7cc7fba44d6c489bd70587578 (patch)
tree57f7ac614bd9c55b18a6bc6435b97b2f7591c366 /src/crepe/system/AudioSystem.cpp
parentfff2fe2ed43fe61cf12eb861fd6a652e1fcc70c2 (diff)
Make format
Diffstat (limited to 'src/crepe/system/AudioSystem.cpp')
-rw-r--r--src/crepe/system/AudioSystem.cpp3
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;