mirror of https://github.com/ppy/osu
Fix incorrect skin version case
This commit is contained in:
parent
55230a36dd
commit
502dcc5669
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue