mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 23:57:22 +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…
x
Reference in New Issue
Block a user