Skip to content

Commit ea8918a

Browse files
committed
Fixes issue with joints not being loaded correctly
1 parent 9e4dd65 commit ea8918a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cocos2d-ui/CCBReader/CCBReader.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,9 @@ -(void)readJoint
11821182
[self readPropertyForNode:(CCNode*)properties parent:nil isExtraProp:NO];
11831183
}
11841184

1185+
// TODO: This is a hack because things are happening in the wrong order, needs refactoring!
1186+
[self postDeserialization];
1187+
11851188
CCNode * nodeBodyA = properties[@"bodyA"];
11861189
CCNode * nodeBodyB = properties[@"bodyB"];
11871190

0 commit comments

Comments
 (0)