diff --git a/Assets/Fungus/FungusScript/Editor/CommandListAdaptor.cs b/Assets/Fungus/FungusScript/Editor/CommandListAdaptor.cs index 382ba0bb..5f566702 100644 --- a/Assets/Fungus/FungusScript/Editor/CommandListAdaptor.cs +++ b/Assets/Fungus/FungusScript/Editor/CommandListAdaptor.cs @@ -143,7 +143,7 @@ namespace Fungus public void DrawItem(Rect position, int index) { Command command = this[index].objectReferenceValue as Command; - + if (command == null) { return;