Feature #4977: Fix an issue about checkUpdate function

This commit is contained in:
pandamicro 2014-10-09 19:55:11 +08:00
parent a26e91f839
commit 4e9e40363f
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ AssetsManagerEx::State AssetsManagerEx::getState() const
void AssetsManagerEx::downloadVersion()
{
if (_updateState != State::PREDOWNLOAD_VERSION)
if (_updateState > State::PREDOWNLOAD_VERSION)
return;
std::string versionUrl = _localManifest->getVersionFileUrl();