From 04359206ffea235607fa1cab97a01f782879d08c Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 25 Nov 2018 22:24:02 +0000 Subject: [PATCH] Remove long-broken setting to ignore version mismatches. --- OpenRA.Game/Network/Session.cs | 1 - OpenRA.Game/Server/Server.cs | 2 +- OpenRA.Game/Settings.cs | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/OpenRA.Game/Network/Session.cs b/OpenRA.Game/Network/Session.cs index c2ebd20f4d..ab231467b0 100644 --- a/OpenRA.Game/Network/Session.cs +++ b/OpenRA.Game/Network/Session.cs @@ -198,7 +198,6 @@ namespace OpenRA.Network public int OrderLatency = 3; // net tick frames (x 120 = ms) public int RandomSeed = 0; public bool AllowSpectators = true; - public bool AllowVersionMismatch; public string GameUid; public bool EnableSingleplayer; public bool EnableSyncReports; diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index 8fa3abbccd..27f06b1aab 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -351,7 +351,7 @@ namespace OpenRA.Server return; } - if (ModData.Manifest.Metadata.Version != handshake.Version && !LobbyInfo.GlobalSettings.AllowVersionMismatch) + if (ModData.Manifest.Metadata.Version != handshake.Version) { Log.Write("server", "Rejected connection from {0}; Not running the same version.", newConn.Socket.RemoteEndPoint); diff --git a/OpenRA.Game/Settings.cs b/OpenRA.Game/Settings.cs index 80906cda93..d2591225aa 100644 --- a/OpenRA.Game/Settings.cs +++ b/OpenRA.Game/Settings.cs @@ -98,9 +98,6 @@ namespace OpenRA public bool SanityCheckUnsyncedCode = false; public int Samples = 25; - [Desc("Show incompatible games in server browser.")] - public bool IgnoreVersionMismatch = false; - public bool StrictActivityChecking = false; [Desc("Check whether a newer version is available online.")]