Fixed crash

This commit is contained in:
DeadlySurprise
2015-05-11 17:41:21 +02:00
parent 648dc31e24
commit 35445775c2
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;