Include add/replace playlist entries support using map.yaml

This commit is contained in:
atlimit8
2015-09-29 15:41:24 -05:00
parent 8c6872fff0
commit f6180d7fa4
3 changed files with 17 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenRA
using (new PerfTimer("Music"))
music = LoadYamlRules(musicCache, m.Music,
NoMapRules,
map != null ? map.MusicDefinitions : NoMapRules,
(k, _) => new MusicInfo(k.Key, k.Value));
using (new PerfTimer("TileSets"))