aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSubScene.cpp
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-08 12:52:52 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-08 12:52:52 +0100
commitb5ed442444d7243935f7ba58c7d0e0ada743d230 (patch)
tree2cb6d82fa6f56cda09c989bce155259dcc1754f1 /game/coins/CoinSubScene.cpp
parentb1e2df1e75e7fc8ea4c30b7deaa54a7acf02d951 (diff)
Added coin pickup sound
Diffstat (limited to 'game/coins/CoinSubScene.cpp')
-rw-r--r--game/coins/CoinSubScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/coins/CoinSubScene.cpp b/game/coins/CoinSubScene.cpp
index 2c9feb6..3bd6641 100644
--- a/game/coins/CoinSubScene.cpp
+++ b/game/coins/CoinSubScene.cpp
@@ -39,6 +39,6 @@ int CoinSubScene::create(Scene & scn, int coin_counter) {
.looping = true,
}
);
- coin.add_component<AudioSource>(Asset {"asset/sfx/coin_pickup_1.ogg"});
+ coin.add_component<AudioSource>(Asset {"asset/sfx/coin_pickup_1.ogg"}).volume = 3;
return coin_counter;
}