1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

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,7 +78,8 @@ namespace osu.Game.GameModes
protected override void Load(BaseGame game)
{
base.Load(game);
beatmap = (game as OsuGameBase)?.Beatmap;
if (beatmap == null)
beatmap = (game as OsuGameBase)?.Beatmap;
}
public override bool Push(GameMode mode)