mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix incorrect comparison
This commit is contained in:
parent
4494bb1eb5
commit
f4e9703deb
@ -49,7 +49,7 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
{
|
{
|
||||||
var rooms = new List<Room>(roomManager.Rooms);
|
var rooms = new List<Room>(roomManager.Rooms);
|
||||||
|
|
||||||
int index = rooms.FindIndex(r => r.RoomID == result.RoomID);
|
int index = rooms.FindIndex(r => r.RoomID.Value == result.RoomID.Value);
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user