Permalink
Browse files

betas should still look for stable updates

  • Loading branch information...
jacob1 committed Mar 13, 2018
1 parent 6d515c3 commit 01741b05ceac9159c2dbfb6df61c443dcc410690
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/client/Client.cpp
@@ -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();
@@ -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";

0 comments on commit 01741b0

Please sign in to comment.