Bind skirmish servers to a random available port
This commit is contained in:
@@ -22,9 +22,8 @@ namespace OpenRA.GameRules
|
||||
public class ServerSettings
|
||||
{
|
||||
public string Name = "OpenRA Game";
|
||||
public int LoopbackPort = 1234; // Port used for soloplay servers
|
||||
public int ListenPort = 1234; // Port that we listen on
|
||||
public int ExternalPort = 1234; // Router port that the master server forwards people to
|
||||
public int ListenPort = 1234;
|
||||
public int ExternalPort = 1234;
|
||||
public bool AdvertiseOnline = true;
|
||||
public string MasterServer = "http://master.open-ra.org/";
|
||||
public bool AllowCheats = false;
|
||||
@@ -34,7 +33,6 @@ namespace OpenRA.GameRules
|
||||
public ServerSettings(ServerSettings other)
|
||||
{
|
||||
Name = other.Name;
|
||||
LoopbackPort = other.LoopbackPort;
|
||||
ListenPort = other.ListenPort;
|
||||
ExternalPort = other.ExternalPort;
|
||||
AdvertiseOnline = other.AdvertiseOnline;
|
||||
|
||||
Reference in New Issue
Block a user