From bbf89cf0161102eb3f438d7945aef88ee5f1bf8d Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 15 Feb 2016 16:30:32 +0800 Subject: [PATCH] Fix director restart issue --- cocos/base/CCDirector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cocos/base/CCDirector.cpp b/cocos/base/CCDirector.cpp index e0446c0063..e44e8a0ca9 100644 --- a/cocos/base/CCDirector.cpp +++ b/cocos/base/CCDirector.cpp @@ -1049,6 +1049,9 @@ void Director::restartDirector() // release the objects PoolManager::getInstance()->getCurrentPool()->clear(); + + // Restart animation + startAnimation(); // Real restart in script level #if CC_ENABLE_SCRIPT_BINDING