Removes the MapMusic checkbox.
This commit is contained in:
@@ -108,7 +108,6 @@ namespace OpenRA
|
||||
|
||||
public bool Shuffle = false;
|
||||
public bool Repeat = false;
|
||||
public bool MapMusic = true;
|
||||
|
||||
public string Engine = "AL";
|
||||
public string Device = null;
|
||||
|
||||
@@ -44,8 +44,7 @@ namespace OpenRA.Traits
|
||||
|
||||
random = playlist.Shuffle(Game.CosmeticRandom).ToArray();
|
||||
|
||||
if (Game.Settings.Sound.MapMusic
|
||||
&& !string.IsNullOrEmpty(info.StartingMusic)
|
||||
if (!string.IsNullOrEmpty(info.StartingMusic)
|
||||
&& world.Map.Rules.Music.ContainsKey(info.StartingMusic)
|
||||
&& world.Map.Rules.Music[info.StartingMusic].Exists)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user