1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 03:42:57 +08:00

Fix BeatmapAttributeText breaking due to enum serialisation woes

This commit is contained in:
Bartłomiej Dach 2024-05-03 14:27:34 +02:00
parent 3840e92576
commit a23d25e0a1
No known key found for this signature in database

View File

@ -125,6 +125,8 @@ namespace osu.Game.Skinning.Components
protected override void SetFont(FontUsage font) => text.Font = font.With(size: 40);
}
// WARNING: DO NOT ADD ANY VALUES TO THIS ENUM ANYWHERE ELSE THAN AT THE END.
// Doing so will break existing user skins.
public enum BeatmapAttribute
{
CircleSize,
@ -134,11 +136,11 @@ namespace osu.Game.Skinning.Components
StarRating,
Title,
Artist,
Source,
DifficultyName,
Creator,
Length,
RankedStatus,
BPM,
Source,
}
}