move cnc shellmap music toggle into Sound settings group where it belongs

This commit is contained in:
Chris Forbes
2011-09-24 20:37:03 +12:00
parent 68801ba7b5
commit c608b45ef0
3 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenRA.Mods.RA
{
var onComplete = Info.Loop ? (Action)PlayMusic : () => {};
if (Game.Settings.Game.ShellmapMusic &&
if (Game.Settings.Sound.ShellmapMusic &&
Rules.Music.ContainsKey(Info.Music))
Sound.PlayMusicThen(Rules.Music[Info.Music], onComplete);
}