mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Fix incorrect skin version case
This commit is contained in:
parent
55230a36dd
commit
502dcc5669
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user