|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|