Remove broken Server.ExternalPort setting.
This commit is contained in:
@@ -135,7 +135,7 @@ namespace OpenRA.Server
|
||||
randomSeed = (int)DateTime.Now.ToBinary();
|
||||
|
||||
if (UPnP.Status == UPnPStatus.Enabled)
|
||||
UPnP.ForwardPort(Settings.ListenPort, Settings.ExternalPort).Wait();
|
||||
UPnP.ForwardPort(Settings.ListenPort, Settings.ListenPort).Wait();
|
||||
|
||||
foreach (var trait in modData.Manifest.ServerTraits)
|
||||
serverTraits.Add(modData.ObjectCreator.CreateObject<ServerTrait>(trait));
|
||||
|
||||
@@ -14,7 +14,6 @@ using System.Collections.Generic;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.Traits;
|
||||
|
||||
@@ -42,9 +41,6 @@ namespace OpenRA
|
||||
[Desc("Sets the internal port.")]
|
||||
public int ListenPort = 1234;
|
||||
|
||||
[Desc("Sets the port advertised to the master server.")]
|
||||
public int ExternalPort = 1234;
|
||||
|
||||
[Desc("Reports the game to the master server list.")]
|
||||
public bool AdvertiseOnline = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user