Skip to content

Commit

Permalink
fix long cast animation predicate (other controllers may still need t…
Browse files Browse the repository at this point in the history
…o be refactored)
  • Loading branch information
iron431 committed Sep 23, 2023
1 parent ebfab38 commit 2351a10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private PlayState instantCastingPredicate(AnimationEvent event) {
}

private PlayState longCastingPredicate(AnimationEvent event) {
if (cancelCastAnimation) {
if (cancelCastAnimation || !isCasting()) {
return PlayState.STOP;
}

Expand Down

0 comments on commit 2351a10

Please sign in to comment.