1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:53:51 +08:00

Fix incorrect skin version case

This commit is contained in:
iiSaLMaN 2019-11-06 20:23:22 +03:00
parent 55230a36dd
commit 502dcc5669

View File

@ -34,7 +34,7 @@ namespace osu.Game.Skinning
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;