diff --git a/src/enemy.cpp b/src/enemy.cpp index 2168094..565f8fe 100644 --- a/src/enemy.cpp +++ b/src/enemy.cpp @@ -96,6 +96,8 @@ void Enemy::damage() { this->anim_tree->death_animation(); this->set_collision_mask(0x0); this->set_collision_layer(0x0); + this->set_process(false); + this->set_physics_process(false); } void Enemy::notice_player(Player *player) {