Remove lag-drop frame workaround.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user