Remove lag-drop frame workaround.

This commit is contained in:
Paul Chote
2017-02-02 19:13:14 +00:00
parent 07c9c9ee8c
commit b71d4ba7a3
2 changed files with 3 additions and 8 deletions

View File

@@ -542,11 +542,6 @@ namespace OpenRA.Server
}
public void DropClient(Connection toDrop)
{
DropClient(toDrop, toDrop.MostRecentFrame);
}
public void DropClient(Connection toDrop, int frame)
{
if (!PreConns.Remove(toDrop))
{
@@ -584,7 +579,7 @@ namespace OpenRA.Server
}
}
DispatchOrders(toDrop, frame, new byte[] { 0xbf });
DispatchOrders(toDrop, toDrop.MostRecentFrame, new byte[] { 0xbf });
// All clients have left: clean up
if (!Conns.Any())