Added Dedicated to GlobalSettings
This commit is contained in:
@@ -198,6 +198,7 @@ namespace OpenRA.Network
|
||||
public bool AllowVersionMismatch;
|
||||
public string GameUid;
|
||||
public bool EnableSingleplayer;
|
||||
public bool Dedicated;
|
||||
|
||||
[FieldLoader.Ignore]
|
||||
public Dictionary<string, LobbyOptionState> LobbyOptions = new Dictionary<string, LobbyOptionState>();
|
||||
|
||||
@@ -150,7 +150,8 @@ namespace OpenRA.Server
|
||||
Map = settings.Map,
|
||||
ServerName = settings.Name,
|
||||
EnableSingleplayer = settings.EnableSingleplayer || !dedicated,
|
||||
GameUid = Guid.NewGuid().ToString()
|
||||
GameUid = Guid.NewGuid().ToString(),
|
||||
Dedicated = dedicated
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user