diff --git a/OpenRA.Mods.RA/ServerTraits/LobbyCommands.cs b/OpenRA.Mods.RA/ServerTraits/LobbyCommands.cs index 7971619b79..ecd7effe55 100644 --- a/OpenRA.Mods.RA/ServerTraits/LobbyCommands.cs +++ b/OpenRA.Mods.RA/ServerTraits/LobbyCommands.cs @@ -500,10 +500,12 @@ namespace OpenRA.Mods.RA.Server .ToDictionary(s => s.PlayerReference, s => s); if (server.Map.Difficulties != null && server.Map.Difficulties.Any()) + { if (!server.Map.Difficulties.Contains(server.lobbyInfo.GlobalSettings.Difficulty)) server.lobbyInfo.GlobalSettings.Difficulty = server.Map.Difficulties.First(); - else - server.lobbyInfo.GlobalSettings.Difficulty = null; + } + else + server.lobbyInfo.GlobalSettings.Difficulty = null; } } }