mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Use ruleset.ShortName instead of hardcoded names.
This commit is contained in:
parent
d4013ae0d8
commit
01b75db21a
@ -80,19 +80,19 @@ namespace osu.Desktop
|
||||
switch (ruleset.ID)
|
||||
{
|
||||
case 0:
|
||||
presence.Assets.SmallImageKey = "osu";
|
||||
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
presence.Assets.SmallImageKey = "taiko";
|
||||
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
presence.Assets.SmallImageKey = "fruits";
|
||||
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
presence.Assets.SmallImageKey = "mania";
|
||||
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user