Remove useless else

This commit is contained in:
Gregory John Casamento 2020-07-20 00:53:40 -04:00
parent 0ccdb278d4
commit 586d207066

View file

@ -771,11 +771,7 @@
forControllerId: (NSString *)identifier
{
BOOL processed = [self isProcessedDocument: xml];
if (processed)
{
return; // don't processed the document again
}
else // Get the controller... there is only one per scene.
if (!processed)
{
NSArray *array = [xml nodesForXPath: @"//objects[1]"
error: NULL];