diff --git a/CommandFlowControl.cs b/CommandFlowControl.cs index 2f23942..e57811f 100644 --- a/CommandFlowControl.cs +++ b/CommandFlowControl.cs @@ -174,7 +174,7 @@ public override void Update(float time) } else { - if (ChildContext != null || ChildContext.State == ExecutionState.DONE) + if (ChildContext == null || ChildContext.State == ExecutionState.DONE) { ChildContext = null; }