diff --git a/src/enemy.cpp b/src/enemy.cpp index 9ab40b9..16d258d 100644 --- a/src/enemy.cpp +++ b/src/enemy.cpp @@ -175,8 +175,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); + this->set_process(false); + this->set_physics_process(false); this->drone_sound->stop(); this->current_action_fn = nullptr; this->set_current_state_name("None");