Remove long-broken setting to ignore version mismatches.

This commit is contained in:
Paul Chote
2018-11-25 22:24:02 +00:00
committed by reaperrr
parent b7317f2202
commit 04359206ff
3 changed files with 1 additions and 5 deletions

View File

@@ -198,7 +198,6 @@ namespace OpenRA.Network
public int OrderLatency = 3; // net tick frames (x 120 = ms) public int OrderLatency = 3; // net tick frames (x 120 = ms)
public int RandomSeed = 0; public int RandomSeed = 0;
public bool AllowSpectators = true; public bool AllowSpectators = true;
public bool AllowVersionMismatch;
public string GameUid; public string GameUid;
public bool EnableSingleplayer; public bool EnableSingleplayer;
public bool EnableSyncReports; public bool EnableSyncReports;

View File

@@ -351,7 +351,7 @@ namespace OpenRA.Server
return; 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.", Log.Write("server", "Rejected connection from {0}; Not running the same version.",
newConn.Socket.RemoteEndPoint); newConn.Socket.RemoteEndPoint);

View File

@@ -98,9 +98,6 @@ namespace OpenRA
public bool SanityCheckUnsyncedCode = false; public bool SanityCheckUnsyncedCode = false;
public int Samples = 25; public int Samples = 25;
[Desc("Show incompatible games in server browser.")]
public bool IgnoreVersionMismatch = false;
public bool StrictActivityChecking = false; public bool StrictActivityChecking = false;
[Desc("Check whether a newer version is available online.")] [Desc("Check whether a newer version is available online.")]