Fix incorrect skin version case

This commit is contained in:
iiSaLMaN 2019-11-06 20:23:22 +03:00
parent 55230a36dd
commit 502dcc5669
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ protected override void ParseLine(LegacySkinConfiguration skin, Section section,
return;
case @"Version":
if (pair.Value == "latest" || pair.Value == "User")
if (pair.Value == "latest")
skin.LegacyVersion = LegacySkinConfiguration.LATEST_VERSION;
else if (decimal.TryParse(pair.Value, out var version))
skin.LegacyVersion = version;