mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Fix test case regression.
This commit is contained in:
parent
68dd3c02aa
commit
4da09713a9
@ -47,7 +47,14 @@ namespace osu.Game.Screens
|
||||
private void load(OsuGameBase game)
|
||||
{
|
||||
if (game != null)
|
||||
{
|
||||
//if we were given a beatmap at ctor time, we want to pass this on to the game-wide beatmap.
|
||||
var localMap = beatmap.Value;
|
||||
beatmap.BindTo(game.Beatmap);
|
||||
if (localMap != null)
|
||||
beatmap.Value = localMap;
|
||||
}
|
||||
|
||||
beatmap.ValueChanged += beatmap_ValueChanged;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user