mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22: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)
|
if (received == null)
|
||||||
{
|
{
|
||||||
rooms.Clear();
|
ClearRooms();
|
||||||
initialRoomsReceived.Value = false;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -171,7 +170,7 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
protected void ClearRooms()
|
protected void ClearRooms()
|
||||||
{
|
{
|
||||||
rooms.Clear();
|
rooms.Clear();
|
||||||
InitialRoomsReceived.Value = false;
|
initialRoomsReceived.Value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
@ -81,7 +82,7 @@ namespace osu.Game.Screens.Multi.RealtimeMultiplayer
|
|||||||
allowPolling.Value = isConnected.Value && JoinedRoom.Value == null;
|
allowPolling.Value = isConnected.Value && JoinedRoom.Value == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override RoomPollingComponent[] CreatePollingComponents() => new RoomPollingComponent[]
|
protected override IEnumerable<RoomPollingComponent> CreatePollingComponents() => new RoomPollingComponent[]
|
||||||
{
|
{
|
||||||
listingPollingComponent = new RealtimeListingPollingComponent
|
listingPollingComponent = new RealtimeListingPollingComponent
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user