Remove lazy loading of map rules.

This commit is contained in:
Paul Chote
2016-03-18 19:59:04 +00:00
parent 4a7ef68b39
commit 1e5065e06a
3 changed files with 16 additions and 29 deletions

View File

@@ -87,7 +87,6 @@ namespace OpenRA.Mods.Common.UtilityCommands
foreach (var testMap in maps)
{
Console.WriteLine("Testing map: {0}".F(testMap.Title));
testMap.PreloadRules();
// Run all rule checks on the map if it defines custom rules.
if (testMap.RuleDefinitions != null || testMap.VoiceDefinitions != null || testMap.WeaponDefinitions != null)