Skip to content

Commit

Permalink
Only upgrade system maps from UpgradeModCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
abcdefg30 committed Oct 8, 2017
1 parent a4fd392 commit 9b8baee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenRA.Mods.Common/UtilityCommands/UpgradeModCommand.cs
Expand Up @@ -76,8 +76,8 @@ void IUtilityCommand.Run(Utility utility, string[] args)

// The map cache won't be valid if there was a map format upgrade, so walk the map packages manually
// Only upgrade system maps - user maps must be updated manually using --upgrade-map
Console.WriteLine("Processing Maps:");
foreach (var map in modData.MapCache.EnumerateMapsWithoutCaching(MapClassification.System | MapClassification.User))
Console.WriteLine("Processing System Maps:");
foreach (var map in modData.MapCache.EnumerateMapsWithoutCaching())
{
try
{
Expand Down

0 comments on commit 9b8baee

Please sign in to comment.