From 6e3ca5ae279dbdf5b7a91243212d3f38a8664355 Mon Sep 17 00:00:00 2001 From: Eric Oden Date: Thu, 28 Nov 2013 13:28:19 -0600 Subject: [PATCH] Fix #278. --- CommandFlowControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }