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