From f9ecb5362381a5aef939068d6432bc3c570cd958 Mon Sep 17 00:00:00 2001 From: halx99 Date: Wed, 7 Jul 2021 22:38:58 +0800 Subject: [PATCH] Fix member not initialized [skip ci] --- cocos/2d/CCNode.cpp | 1 + 1 file changed, 1 insertion(+) 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)