From e08ba5eaeea22ea708f1d7295e598643a7d467be Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Sun, 19 Jun 2016 20:11:05 +0200 Subject: [PATCH] Fix blank video heuristic for legacy map import to include upper-case 'X' --- OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs index 4a84c92d43..0d0b54e610 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs @@ -172,7 +172,7 @@ namespace OpenRA.Mods.Common.UtilityCommands var videos = new List(); foreach (var s in file.GetSection(section)) { - if (s.Value != "x" && s.Value != "") + if (s.Value != "x" && s.Value != "X" && s.Value != "") { switch (s.Key) {