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:
parent
4ada0e17c0
commit
594db76cf3
@ -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>
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user