1
0
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:
Bartłomiej Dach 2024-05-30 14:20:16 +02:00
parent 2321e408cb
commit 073ddcebe4
No known key found for this signature in database

View File

@ -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))