fix: enemy wretched stop when attacking
This commit is contained in:
parent
7a13823c97
commit
9e3de9c29a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue