remove some plenks

no logic changes
This commit is contained in:
Matthias Mailänder
2013-06-17 20:46:38 +02:00
parent 875ac468d3
commit 6b261534d8
3 changed files with 73 additions and 73 deletions

View File

@@ -151,8 +151,7 @@ namespace OpenRA.Server
if (State == ServerState.ShuttingDown)
{
EndGame();
if (Settings.AllowPortForward)
UPnP.RemovePortforward();
if (Settings.AllowPortForward) UPnP.RemovePortforward();
break;
}
}
@@ -381,6 +380,7 @@ namespace OpenRA.Server
ms.Write(BitConverter.GetBytes(frame));
ms.Write(data);
c.socket.Send(ms.ToArray());
}
catch (Exception e)
{
DropClient(c);