mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:42:56 +08:00
Include the bundled skins when selecting a random skin
This commit is contained in:
parent
68b67e6e98
commit
9491e6394a
@ -86,7 +86,7 @@ namespace osu.Game.Skinning
|
||||
public void SelectRandomSkin()
|
||||
{
|
||||
// choose from only user skins, removing the current selection to ensure a new one is chosen.
|
||||
var randomChoices = GetAllUsableSkins().Where(s => s.ID > 0 && s.ID != CurrentSkinInfo.Value.ID).ToArray();
|
||||
var randomChoices = GetAllUsableSkins().Where(s => s.ID != CurrentSkinInfo.Value.ID).ToArray();
|
||||
|
||||
if (randomChoices.Length == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user