Update with proper playlist usage

This commit is contained in:
smoogipoo
2018-12-13 18:38:03 +09:00
parent 264bd0e2aa
commit 680a3e2aa4
8 changed files with 87 additions and 46 deletions

View File

@ -69,9 +69,6 @@ namespace osu.Game.Screens.Multi
pi.SetRulesets(rulesets);
}
// Temporarily
r.Beatmap.Value = r.Playlist.FirstOrDefault()?.Beatmap;
var existing = rooms.FirstOrDefault(e => e.RoomID.Value == r.RoomID.Value);
if (existing == null)
rooms.Add(r);