mirror of https://github.com/axmolengine/axmol.git
Feature #4977: Fix an issue about checkUpdate function
This commit is contained in:
parent
a26e91f839
commit
4e9e40363f
|
@ -375,7 +375,7 @@ AssetsManagerEx::State AssetsManagerEx::getState() const
|
||||||
|
|
||||||
void AssetsManagerEx::downloadVersion()
|
void AssetsManagerEx::downloadVersion()
|
||||||
{
|
{
|
||||||
if (_updateState != State::PREDOWNLOAD_VERSION)
|
if (_updateState > State::PREDOWNLOAD_VERSION)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::string versionUrl = _localManifest->getVersionFileUrl();
|
std::string versionUrl = _localManifest->getVersionFileUrl();
|
||||||
|
|
Loading…
Reference in New Issue