betas should still look for stable updates
This commit is contained in:
parent
6d515c3009
commit
01741b05ce
@ -824,7 +824,7 @@ bool Client::CheckUpdate(void *updateRequest, bool checkSession)
|
|||||||
#ifndef IGNORE_UPDATES
|
#ifndef IGNORE_UPDATES
|
||||||
//Check for updates
|
//Check for updates
|
||||||
Json::Value versions = objDocument["Updates"];
|
Json::Value versions = objDocument["Updates"];
|
||||||
#if !defined(BETA) && !defined(SNAPSHOT)
|
#ifndef SNAPSHOT
|
||||||
Json::Value stableVersion = versions["Stable"];
|
Json::Value stableVersion = versions["Stable"];
|
||||||
int stableMajor = stableVersion["Major"].asInt();
|
int stableMajor = stableVersion["Major"].asInt();
|
||||||
int stableMinor = stableVersion["Minor"].asInt();
|
int stableMinor = stableVersion["Minor"].asInt();
|
||||||
@ -1021,7 +1021,7 @@ RequestStatus Client::UploadSave(SaveInfo & save)
|
|||||||
lastError = "Cannot serialize game save";
|
lastError = "Cannot serialize game save";
|
||||||
return RequestFailure;
|
return RequestFailure;
|
||||||
}
|
}
|
||||||
#if defined(SNAPSHOT) || defined(DEBUG)
|
#if defined(SNAPSHOT) || defined(BETA) || defined(DEBUG)
|
||||||
else if (save.gameSave->fromNewerVersion)
|
else if (save.gameSave->fromNewerVersion)
|
||||||
{
|
{
|
||||||
lastError = "Cannot upload save, incompatible with latest release version";
|
lastError = "Cannot upload save, incompatible with latest release version";
|
||||||
|
Reference in New Issue
Block a user