diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 13:20:50 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 13:20:50 +0100 |
commit | bc66e7195c80facca244f933b882011e5e81fa3c (patch) | |
tree | a9417c19a7f9cecb09130ac7becfbba059b1ec5b /game/coins/CoinSubScene.cpp | |
parent | 42cbef630ccaf3e841459d364edade1a3c72a525 (diff) |
coins use events
Diffstat (limited to 'game/coins/CoinSubScene.cpp')
-rw-r--r-- | game/coins/CoinSubScene.cpp | 1 |
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; } |