mirror of https://github.com/axmolengine/axmol.git
Update AppDelegate.cpp
This commit is contained in:
parent
bf4eaa7e7c
commit
31e3faaa4f
|
@ -92,7 +92,7 @@ void UpdateLayer::update(cocos2d::Object *pSender)
|
||||||
pProgressLabel->setString("");
|
pProgressLabel->setString("");
|
||||||
|
|
||||||
// update resources
|
// update resources
|
||||||
getAssetsManager()->update();
|
pAssetsManager->update();
|
||||||
|
|
||||||
isUpdateItemClicked = true;
|
isUpdateItemClicked = true;
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ void UpdateLayer::reset(cocos2d::Object *pSender)
|
||||||
system(command.c_str());
|
system(command.c_str());
|
||||||
#endif
|
#endif
|
||||||
// Delete recorded version codes.
|
// Delete recorded version codes.
|
||||||
getAssetsManager()->deleteVersion();
|
pAssetsManager->deleteVersion();
|
||||||
|
|
||||||
createDownloadedDir();
|
createDownloadedDir();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue