From d027c2c30e1da9fe8804cc0cc0adac0818061c7e Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 14 Sep 2016 13:56:39 +0100 Subject: [PATCH] Fixed formatting --- Assets/Fungus/Flowchart/Scripts/Block.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Flowchart/Scripts/Block.cs b/Assets/Fungus/Flowchart/Scripts/Block.cs index 32fe99c9..ea420328 100644 --- a/Assets/Fungus/Flowchart/Scripts/Block.cs +++ b/Assets/Fungus/Flowchart/Scripts/Block.cs @@ -229,7 +229,7 @@ namespace Fungus // Skip disabled commands, comments and labels while (i < commandList.Count && - (!commandList[i].enabled || + (!commandList[i].enabled || commandList[i].GetType() == typeof(Comment) || commandList[i].GetType() == typeof(Label))) {