Allow transfer of previously loaded background between WorkingBeatmaps

This commit is contained in:
Dean Herbert
2017-04-28 15:03:07 +09:00
parent 88b2b740d7
commit 28375ed1fc
2 changed files with 7 additions and 0 deletions

View File

@ -94,6 +94,9 @@ namespace osu.Game.Beatmaps
{
if (track != null && BeatmapInfo.AudioEquals(other.BeatmapInfo))
other.track = track;
if (background != null && BeatmapInfo.BackgroundEquals(other.BeatmapInfo))
other.background = background;
}
public virtual void Dispose()