Fix a locally set beatmap getting overridden by the game-global one.

This commit is contained in:
Dean Herbert 2016-11-12 18:24:56 +09:00
parent 099b309645
commit 80f146e4bd

View File

@ -78,6 +78,7 @@ namespace osu.Game.GameModes
protected override void Load(BaseGame game)
{
base.Load(game);
if (beatmap == null)
beatmap = (game as OsuGameBase)?.Beatmap;
}