From 9bc8c633796e0430bd495144c78f287cc644d02c Mon Sep 17 00:00:00 2001 From: SijieWang Date: Mon, 7 May 2018 18:16:10 +0800 Subject: [PATCH] move code to onRestore --- cocos2d/core/CCNode.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index 2ef6fb8bca..86cf9acc93 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -2460,15 +2460,6 @@ var Node = cc.Class({ var self = this; var sgNode = self._sgNode; - // `active` must synchronize to component - for (var i=0; i