mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 14:43:03 +08:00
Add comment explaining why direct string lookups are used
This commit is contained in:
parent
7ae45b29db
commit
7e838c8042
@ -160,6 +160,7 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
this.extrapolateAnimations = extrapolateAnimations;
|
||||
|
||||
// Use a direct string lookup for simplicity, as they're legacy settings and not worth creating enums for them.
|
||||
legacyFontPrefixes.Add(GetConfig<string, string>("HitCirclePrefix")?.Value ?? "default");
|
||||
legacyFontPrefixes.Add(GetConfig<string, string>("ScorePrefix")?.Value ?? "score");
|
||||
legacyFontPrefixes.Add(GetConfig<string, string>("ComboPrefix")?.Value ?? "score");
|
||||
|
Loading…
Reference in New Issue
Block a user