1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 02:32:55 +08:00

Change version comparison to match other existing code as proposed in review

This commit is contained in:
Dean Herbert 2023-02-02 14:08:45 +09:00
parent 263a7e2766
commit 183d1c5bd6

View File

@ -62,7 +62,7 @@ namespace osu.Game.Skinning
decimal? legacyVersion = skin.GetConfig<SkinConfiguration.LegacySetting, decimal>(SkinConfiguration.LegacySetting.Version)?.Value;
if (legacyVersion > 1)
if (legacyVersion >= 2.0m)
{
this.MoveTo(new Vector2(0, -5));
this.MoveToOffset(new Vector2(0, 80), fade_out_delay + fade_out_length, Easing.In);