mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Fix test case regression.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user