aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinScript.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 17:49:39 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 17:49:39 +0100
commit07615060da6c211e08a3d7f2e1bb9e99ffc05364 (patch)
treee272fd896ac25aa7ac6d7b4c20dbe5c49a042dce /game/coins/CoinScript.cpp
parentce655acf72c5d5be62497dbaac41af7ef49be411 (diff)
moved and updated files
Diffstat (limited to 'game/coins/CoinScript.cpp')
-rw-r--r--game/coins/CoinScript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/game/coins/CoinScript.cpp b/game/coins/CoinScript.cpp
index 5a1e922..e40f658 100644
--- a/game/coins/CoinScript.cpp
+++ b/game/coins/CoinScript.cpp
@@ -9,7 +9,6 @@ using namespace std;
bool CoinScript::on_collision(const CollisionEvent & collisionData){
if(collisionData.info.other.metadata.name != PLAYER_NAME) return true;
- //collide with player
this->get_component<Sprite>().active = false;
this->get_component<CircleCollider>().active = false;
SaveManager & savemgr = this->get_save_manager();