Fix video playback to work with D2k VQAs

This commit is contained in:
penev92
2015-05-09 18:10:01 +03:00
parent be609c6033
commit 6c75d1dde3
2 changed files with 4 additions and 1 deletions

View File

@@ -304,7 +304,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (!GlobalFileSystem.Exists(filename))
return false;
if (Path.GetExtension(filename).ToLower() == ".vqa")
if (Path.GetExtension(filename.ToLowerInvariant()) == ".vqa")
{
player = panel.Get<VqaPlayerWidget>("PLAYER");
currentFilename = filename;