Browse Source

Merge pull request #737 from Skelly1983/patch-1

Added space in block name does not exist string.
master
Steve Halliwell 6 years ago committed by GitHub
parent
commit
97c5294f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Assets/Fungus/Scripts/Components/Flowchart.cs

6
Assets/Fungus/Scripts/Components/Flowchart.cs

@ -527,13 +527,13 @@ namespace Fungus
if (block == null) if (block == null)
{ {
Debug.LogError("Block " + blockName + "does not exist"); Debug.LogError("Block " + blockName + " does not exist");
return; return;
} }
if (!ExecuteBlock(block)) if (!ExecuteBlock(block))
{ {
Debug.LogWarning("Block " + blockName + "failed to execute"); Debug.LogWarning("Block " + blockName + " failed to execute");
} }
} }
@ -546,7 +546,7 @@ namespace Fungus
if (block == null) if (block == null)
{ {
Debug.LogError("Block " + blockName + "does not exist"); Debug.LogError("Block " + blockName + " does not exist");
return; return;
} }

Loading…
Cancel
Save