mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Hide daily challenge from playlists listing
This commit is contained in:
parent
2321e408cb
commit
073ddcebe4
@ -53,6 +53,8 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
|
||||
req.Success += result =>
|
||||
{
|
||||
result = result.Where(r => r.Category.Value != RoomCategory.DailyChallenge).ToList();
|
||||
|
||||
foreach (var existing in RoomManager.Rooms.ToArray())
|
||||
{
|
||||
if (result.All(r => r.RoomID.Value != existing.RoomID.Value))
|
||||
|
Loading…
Reference in New Issue
Block a user