aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSubScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 13:20:50 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 13:20:50 +0100
commitbc66e7195c80facca244f933b882011e5e81fa3c (patch)
treea9417c19a7f9cecb09130ac7becfbba059b1ec5b /game/coins/CoinSubScene.cpp
parent42cbef630ccaf3e841459d364edade1a3c72a525 (diff)
coins use events
Diffstat (limited to 'game/coins/CoinSubScene.cpp')
-rw-r--r--game/coins/CoinSubScene.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/game/coins/CoinSubScene.cpp b/game/coins/CoinSubScene.cpp
index 3914921..72319ca 100644
--- a/game/coins/CoinSubScene.cpp
+++ b/game/coins/CoinSubScene.cpp
@@ -36,6 +36,5 @@ int CoinSubScene::create(Scene & scn){
.looping = true,
});
coin.add_component<AudioSource>(Asset{"asset/sfx/coin_pickup_1.ogg"});
- coin.add_component<BehaviorScript>().set_script<CoinScript>();
return coin_counter;
}