mirror of
https://github.com/ppy/osu.git
synced 2025-02-23 20:42:57 +08:00
Also add source prefix
This commit is contained in:
parent
af7d35bfbf
commit
2bea1fe4a6
@ -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}""""");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user