Skip to content

Commit

Permalink
betas should still look for stable updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 13, 2018
1 parent 6d515c3 commit 01741b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/Client.cpp
Expand Up @@ -824,7 +824,7 @@ bool Client::CheckUpdate(void *updateRequest, bool checkSession)
#ifndef IGNORE_UPDATES
//Check for updates
Json::Value versions = objDocument["Updates"];
#if !defined(BETA) && !defined(SNAPSHOT)
#ifndef SNAPSHOT
Json::Value stableVersion = versions["Stable"];
int stableMajor = stableVersion["Major"].asInt();
int stableMinor = stableVersion["Minor"].asInt();
Expand Down Expand Up @@ -1021,7 +1021,7 @@ RequestStatus Client::UploadSave(SaveInfo & save)
lastError = "Cannot serialize game save";
return RequestFailure;
}
#if defined(SNAPSHOT) || defined(DEBUG)
#if defined(SNAPSHOT) || defined(BETA) || defined(DEBUG)
else if (save.gameSave->fromNewerVersion)
{
lastError = "Cannot upload save, incompatible with latest release version";
Expand Down

0 comments on commit 01741b0

Please sign in to comment.