1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:52:54 +08:00

Fix compilation errors

This commit is contained in:
smoogipoo 2020-12-20 23:10:45 +09:00
parent 4ada0e17c0
commit 594db76cf3
2 changed files with 4 additions and 4 deletions

View File

@ -125,8 +125,7 @@ namespace osu.Game.Screens.Multi.Components
{
if (received == null)
{
rooms.Clear();
initialRoomsReceived.Value = false;
ClearRooms();
return;
}
@ -171,7 +170,7 @@ namespace osu.Game.Screens.Multi.Components
protected void ClearRooms()
{
rooms.Clear();
InitialRoomsReceived.Value = false;
initialRoomsReceived.Value = false;
}
/// <summary>

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using osu.Framework.Allocation;
@ -81,7 +82,7 @@ namespace osu.Game.Screens.Multi.RealtimeMultiplayer
allowPolling.Value = isConnected.Value && JoinedRoom.Value == null;
}
protected override RoomPollingComponent[] CreatePollingComponents() => new RoomPollingComponent[]
protected override IEnumerable<RoomPollingComponent> CreatePollingComponents() => new RoomPollingComponent[]
{
listingPollingComponent = new RealtimeListingPollingComponent
{