diff --git a/OpenRA.Game/GameRules/Rules.cs b/OpenRA.Game/GameRules/Rules.cs index ff2e024fd9..c8881563aa 100755 --- a/OpenRA.Game/GameRules/Rules.cs +++ b/OpenRA.Game/GameRules/Rules.cs @@ -30,9 +30,9 @@ namespace OpenRA public static void LoadRules(Manifest m, Map map) { Info = LoadYamlRules(m.Rules, map.Rules, (k, y) => new ActorInfo(k.Key.ToLowerInvariant(), k.Value, y)); - Weapons = LoadYamlRules(m.Weapons, map.Weapons, (k, _) => new WeaponInfo(k.Key.ToLowerInvariant(), k.Value)); - Voices = LoadYamlRules(m.Voices, map.Voices, (k, _) => new VoiceInfo(k.Value)); - Music = LoadYamlRules(m.Music, map.Music, (k, _) => new MusicInfo(k.Key, k.Value)); + Weapons = LoadYamlRules(m.Weapons, new List(), (k, _) => new WeaponInfo(k.Key.ToLowerInvariant(), k.Value)); + Voices = LoadYamlRules(m.Voices, new List(), (k, _) => new VoiceInfo(k.Value)); + Music = LoadYamlRules(m.Music, new List(), (k, _) => new MusicInfo(k.Key, k.Value)); Movies = LoadYamlRules(m.Movies, new List(), (k, v) => k.Value.Value); TileSets = new Dictionary(); diff --git a/OpenRA.Game/Map.cs b/OpenRA.Game/Map.cs index 996f2ba5b6..721158f800 100755 --- a/OpenRA.Game/Map.cs +++ b/OpenRA.Game/Map.cs @@ -40,11 +40,7 @@ namespace OpenRA // Rules overrides public List Rules = new List(); - public List Weapons = new List(); - public List Voices = new List(); - public List Music = new List(); - public List Terrain = new List(); - + // Binary map data public byte TileFormat = 1; public int2 MapSize;