Make videos have correct order

This commit is contained in:
Assistant 2020-02-22 23:58:21 -07:00
parent a6d779e0a3
commit 07707e37ae

View file

@ -235,10 +235,13 @@ namespace ModAssistant
theme.ThemeDictionary = dictionary; theme.ThemeDictionary = dictionary;
} }
if (supportedVideoExtensions.Contains(info.Extension)) if (supportedVideoExtensions.Contains(info.Extension))
{
if (info.Name != $"_{name}{info.Extension}" || theme.VideoLocation is null)
{ {
theme.VideoLocation = info.FullName; theme.VideoLocation = info.FullName;
} }
} }
}
return theme; return theme;
} }