1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-24 06:32:56 +08:00

Also add source prefix

This commit is contained in:
Dan Balasescu 2024-10-23 16:21:28 +09:00
parent af7d35bfbf
commit 2bea1fe4a6
No known key found for this signature in database

View File

@ -17,9 +17,9 @@ namespace osu.Game.Overlays.BeatmapSet
protected override void AddMetadata(string metadata, LinkFlowContainer loaded) protected override void AddMetadata(string metadata, LinkFlowContainer loaded)
{ {
if (SearchAction != null) if (SearchAction != null)
loaded.AddLink(metadata, () => SearchAction($@"""""{metadata}""""")); loaded.AddLink(metadata, () => SearchAction($@"source=""""{metadata}"""""));
else else
loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $@"""""{metadata}"""""); loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $@"source=""""{metadata}""""");
} }
} }
} }