diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-06 13:50:13 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-06 13:50:13 +0100 |
commit | 1433845c6eb04c7b017dfad1b091f20e6ceaf823 (patch) | |
tree | e78743671933c105a57826eed7fb2385da5663aa /game/GameScene.cpp | |
parent | a97068c12dbbe309a98fd00bd24fdfd5a9cb9012 (diff) |
Deleted loop
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index e193f44..2b6b051 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -70,7 +70,7 @@ void GameScene::load_scene() { GameObject background_music = new_object("background_music", "audio", vec2(0, 0)); Asset background_music_asset {"asset/music/level.ogg"}; - background_music.add_component<AudioSource>(background_music_asset).loop = true; + background_music.add_component<AudioSource>(background_music_asset); GameObject boom_audio = new_object("boom_audio", "audio", vec2(0, 0)); Asset boom_audio_asset {"asset/sfx/window_smash.ogg"}; |