mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update test classes to set owner ids
This commit is contained in:
@ -128,8 +128,12 @@ namespace osu.Game.Tests.Visual.OnlinePlay
|
||||
public void AddServerSideRoom(Room room)
|
||||
{
|
||||
room.RoomID.Value ??= currentRoomId++;
|
||||
|
||||
for (int i = 0; i < room.Playlist.Count; i++)
|
||||
{
|
||||
room.Playlist[i].ID = currentPlaylistItemId++;
|
||||
room.Playlist[i].OwnerID = room.Host.Value.OnlineID;
|
||||
}
|
||||
|
||||
serverSideRooms.Add(room);
|
||||
}
|
||||
|
Reference in New Issue
Block a user