mirror of
https://github.com/ppy/osu.git
synced 2025-02-28 01:22:55 +08:00
Add temporary browser handling of beatmap difficulty loading
until we have an api method to support this.
This commit is contained in:
parent
3eccface72
commit
b27577e242
@ -60,7 +60,9 @@ namespace osu.Game.Graphics.Containers
|
||||
switch (linkType)
|
||||
{
|
||||
case LinkAction.OpenBeatmap:
|
||||
// todo: implement this when overlay.ShowBeatmap(id) exists
|
||||
// todo: replace this with overlay.ShowBeatmap(id) once an appropriate API call is implemented.
|
||||
if (int.TryParse(linkArgument, out int beatmapId))
|
||||
Process.Start($"https://osu.ppy.sh/b/{beatmapId}");
|
||||
break;
|
||||
case LinkAction.OpenBeatmapSet:
|
||||
if (int.TryParse(linkArgument, out int setId))
|
||||
|
Loading…
Reference in New Issue
Block a user