1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Fix incorrect comparison

This commit is contained in:
smoogipoo 2020-12-19 00:52:32 +09:00
parent 4494bb1eb5
commit f4e9703deb

View File

@ -49,7 +49,7 @@ namespace osu.Game.Screens.Multi.Components
{
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)
return;