fix: enemy wretched stop when attacking

This commit is contained in:
Sara 2025-08-11 16:59:48 +02:00
parent 7a13823c97
commit 9e3de9c29a

View file

@ -143,6 +143,7 @@ String WretchedChaseState::get_next_state() const {
void WretchedAttackState::enter_state() {
get_anim()->play("attack");
get_target()->set_movement_direction(Vector2());
}
String WretchedAttackState::get_next_state() const {