aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AudioSystem.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-05 17:12:56 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-05 17:12:56 +0100
commit1e9e564f3806d07c7b0dc445c4ae2e738350fc83 (patch)
treec7d67cef8ae898288ac769eb8ee8f3252369d736 /src/crepe/system/AudioSystem.cpp
parent5072b4cc9bf56a4764c9bbd2bb748b6d3d511374 (diff)
`make format`
Diffstat (limited to 'src/crepe/system/AudioSystem.cpp')
-rw-r--r--src/crepe/system/AudioSystem.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crepe/system/AudioSystem.cpp b/src/crepe/system/AudioSystem.cpp
index c1cde8b..b2c1dc6 100644
--- a/src/crepe/system/AudioSystem.cpp
+++ b/src/crepe/system/AudioSystem.cpp
@@ -58,8 +58,6 @@ void AudioSystem::update_last(AudioSource & component) {
}
SoundContext & AudioSystem::get_context() {
- if (this->context == nullptr)
- this->context = make_unique<SoundContext>();
+ if (this->context == nullptr) this->context = make_unique<SoundContext>();
return *this->context.get();
}
-