Remove legacy MP lobby mod and replay switching logic.

This commit is contained in:
Paul Chote
2017-02-11 16:25:36 +00:00
parent 69a869fe43
commit f2e6601e07
4 changed files with 14 additions and 55 deletions

View File

@@ -34,7 +34,6 @@ namespace OpenRA.Network
public string ServerError = "Server is not responding";
public bool AuthenticationFailed = false;
public Manifest ServerMod = null;
public ExternalMod ServerExternalMod = null;
public int NetFrameNumber { get; private set; }

View File

@@ -135,17 +135,6 @@ namespace OpenRA.Network
var mod = Game.ModData.Manifest;
var request = HandshakeRequest.Deserialize(order.TargetString);
Manifest serverMod;
if (request.Mod != mod.Id &&
Game.Mods.TryGetValue(request.Mod, out serverMod) &&
serverMod.Metadata.Version == request.Version)
{
// The ConnectionFailedLogic will prompt the user to switch mods
orderManager.ServerMod = serverMod;
orderManager.Connection.Dispose();
break;
}
var externalKey = ExternalMod.MakeKey(request.Mod, request.Version);
ExternalMod external;
if ((request.Mod != mod.Id || request.Version != mod.Metadata.Version)