skip IcarusCommands that are null

This commit is contained in:
Michael Becker 2021-01-10 16:04:27 -05:00
parent 2f664e4b98
commit f2e96d0955

View File

@ -40,6 +40,7 @@ namespace UniversalEditor.ObjectModels.Icarus
foreach (IcarusCommand cmd in mvarCommands)
{
if (cmd == null) continue;
clone.Commands.Add(cmd.Clone() as IcarusCommand);
}
}