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

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