From c89c1e49763120c03842987c96cbdd4e0fcaacc6 Mon Sep 17 00:00:00 2001 From: knoxHuang <821686174@qq.com> Date: Fri, 15 Dec 2017 18:03:14 +0800 Subject: [PATCH] update eventManager code for CCNode --- 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 4f6594c908..35afd45c5d 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -1158,7 +1158,7 @@ var Node = cc.Class({ if (ActionManagerExist) { cc.director.getActionManager().pauseTarget(this); } - cc.eventManager.pauseTarget(this); + eventManager.pauseTarget(this); } var children = this._children;