mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Avoid resolving realm Live
more than once
This commit is contained in:
parent
425d3c23f5
commit
db445660e7
@ -88,10 +88,12 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
private IEnumerable<LocalisableString> getFilterTerms()
|
||||
{
|
||||
yield return Preset.Value.Name;
|
||||
yield return Preset.Value.Description;
|
||||
var preset = Preset.Value;
|
||||
|
||||
foreach (Mod mod in Preset.Value.Mods)
|
||||
yield return preset.Name;
|
||||
yield return preset.Description;
|
||||
|
||||
foreach (Mod mod in preset.Mods)
|
||||
{
|
||||
yield return mod.Name;
|
||||
yield return mod.Acronym;
|
||||
|
Loading…
Reference in New Issue
Block a user