We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00b167b + 041e1c3 commit 4964238Copy full SHA for 4964238
cocos2d-ui/CCBReader/CCBReader.m
@@ -1146,10 +1146,13 @@ -(void)postDeserialization
1146
NSString * name = task[1];
1147
int uuid = (int)[task[2] integerValue];
1148
1149
+ if(uuid == 0)
1150
+ return;
1151
+
1152
CCNode * mappedNode = nodeMapping[@(uuid)];
1153
NSAssert(mappedNode != nil, @"CCBReader: Failed to find node UUID:%i", uuid);
1154
[node setValue:mappedNode forKey:name];
-
1155
1156
}
1157
1158
0 commit comments