mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
Show beatmap star rating in RPC
This commit is contained in:
parent
0d7fa3b55c
commit
a3f5e2458d
@ -192,7 +192,7 @@ namespace osu.Desktop
|
|||||||
switch (activity)
|
switch (activity)
|
||||||
{
|
{
|
||||||
case UserActivity.InGame game:
|
case UserActivity.InGame game:
|
||||||
return game.BeatmapInfo.ToString();
|
return $"[{Math.Round(game.BeatmapInfo.StarRating, 2)}*] {game.BeatmapInfo}";
|
||||||
|
|
||||||
case UserActivity.Editing edit:
|
case UserActivity.Editing edit:
|
||||||
return edit.BeatmapInfo.ToString();
|
return edit.BeatmapInfo.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user