From 0727f7e9ffc99114f1a86014e754dfea601d9918 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sun, 8 Oct 2017 19:08:30 +0200 Subject: [PATCH] Only lint system maps --- OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs b/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs index abe7c782c8..f0cb7434f7 100644 --- a/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs +++ b/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs @@ -77,8 +77,8 @@ namespace OpenRA.Mods.Common.UtilityCommands } } - // Use all maps for lint checking - maps = modData.MapCache.EnumerateMapsWithoutCaching(MapClassification.System | MapClassification.User).ToList(); + // Use all system maps for lint checking + maps = modData.MapCache.EnumerateMapsWithoutCaching().ToList(); } else maps.Add(new Map(modData, new Folder(".").OpenPackage(args[1], modData.ModFiles)));