From ddbe66feb53e6d6f38693e35c1ae627ed7357c1f Mon Sep 17 00:00:00 2001 From: pandamicro Date: Fri, 18 Mar 2016 11:53:38 +0800 Subject: [PATCH] Fix child of inactive node can receive event issue --- cocos2d/core/CCNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index 18b1de4e4c..dc5a533e5b 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -1115,7 +1115,7 @@ var Node = cc.Class({ }, isRunning: function () { - return this.active; + return this._activeInHierarchy; }, // ACTIONS