diff --git a/cocos/2d/CCNode.cpp b/cocos/2d/CCNode.cpp index 43738ff87d..36d53a15e2 100644 --- a/cocos/2d/CCNode.cpp +++ b/cocos/2d/CCNode.cpp @@ -100,6 +100,7 @@ Node::Node() , _reorderChildDirty(false) , _isTransitionFinished(false) #if CC_ENABLE_SCRIPT_BINDING +, _scriptHandler(0) , _updateScriptHandler(0) #endif , _componentContainer(nullptr)