diff --git a/Sources/armory/logicnode/AnimationStateNode.hx b/Sources/armory/logicnode/AnimationStateNode.hx index 61841e3d..ffd8326f 100644 --- a/Sources/armory/logicnode/AnimationStateNode.hx +++ b/Sources/armory/logicnode/AnimationStateNode.hx @@ -18,10 +18,10 @@ class AnimationStateNode extends LogicNode { if (animation == null) animation = object.getParentArmature(object.name); return switch (from) { - case 0: animation.action; - case 1: animation.currentFrame(); - case 2: animation.paused; - default: null; + case 0: animation.action; + case 1: animation.currentFrame(); + case 2: animation.paused; + default: null; } } }