Merge pull request #8147 from DeadlySurprise/vqaAudioFix

Fixed gdi3lose.vqa crash
This commit is contained in:
Pavel Penev
2015-05-13 03:50:45 +03:00
2 changed files with 8 additions and 2 deletions

View File

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