1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 05:52:54 +08:00

Cleanup DrawableRoom.

This commit is contained in:
DrabWeb 2018-05-28 23:56:00 -03:00
parent dcc39d96e2
commit 7beac3a712

View File

@ -227,18 +227,9 @@ namespace osu.Game.Screens.Multi.Components
beatmapBind.ValueChanged += b =>
{
cover.BeatmapSet = b?.BeatmapSet;
beatmapTitle.Beatmap = b;
modeTypeInfo.Beatmap = b;
if (b != null)
{
cover.BeatmapSet = b.BeatmapSet;
beatmapTitle.Beatmap = b;
}
else
{
cover.BeatmapSet = null;
beatmapTitle.Beatmap = null;
}
};
nameBind.BindTo(Room.Name);