mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:07:52 +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 =>
|
req.Success += result =>
|
||||||
{
|
{
|
||||||
|
result = result.Where(r => r.Category.Value != RoomCategory.DailyChallenge).ToList();
|
||||||
|
|
||||||
foreach (var existing in RoomManager.Rooms.ToArray())
|
foreach (var existing in RoomManager.Rooms.ToArray())
|
||||||
{
|
{
|
||||||
if (result.All(r => r.RoomID.Value != existing.RoomID.Value))
|
if (result.All(r => r.RoomID.Value != existing.RoomID.Value))
|
||||||
|
Loading…
Reference in New Issue
Block a user