Fix director restart issue

This commit is contained in:
pandamicro 2016-02-15 16:30:32 +08:00
parent 3177f3431e
commit bbf89cf016
1 changed files with 3 additions and 0 deletions

View File

@ -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