mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +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)
|
switch (ruleset.ID)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
presence.Assets.SmallImageKey = "osu";
|
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
presence.Assets.SmallImageKey = "taiko";
|
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
presence.Assets.SmallImageKey = "fruits";
|
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
presence.Assets.SmallImageKey = "mania";
|
presence.Assets.SmallImageKey = ruleset.ShortName;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user