Remove long-broken setting to ignore version mismatches.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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.")]
|
||||||
|
|||||||
Reference in New Issue
Block a user