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:
parent
099b309645
commit
80f146e4bd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user