From febdb2baa1d279f44f5e92d7b17b48062a3ddb21 Mon Sep 17 00:00:00 2001 From: sprunk Date: Sun, 12 Jan 2025 02:53:02 +0100 Subject: [PATCH] More strict sync check --- rts/Game/GameVersion.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rts/Game/GameVersion.cpp b/rts/Game/GameVersion.cpp index 5f8128cb58..280ee8dfc5 100644 --- a/rts/Game/GameVersion.cpp +++ b/rts/Game/GameVersion.cpp @@ -211,11 +211,7 @@ const std::string& Get() const std::string& GetSync() { - static const std::string sync = IsRelease() - ? GetMajor() + "." + GetMinor() + "." + GetPatchSet() - : SPRING_VERSION_ENGINE; - - return sync; + return SPRING_VERSION_ENGINE; } const std::string& GetFull()