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.")]