mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Eliminate dependency on OsuGame
This commit is contained in:
@ -24,13 +24,13 @@ namespace osu.Game.Screens.Edit
|
||||
PushEditor();
|
||||
}
|
||||
|
||||
public void PushEditor([CanBeNull] BeatmapInfo beatmapInfo = null)
|
||||
public void PushEditor([CanBeNull] BeatmapInfo beatmapInfo = null) => Schedule(() =>
|
||||
{
|
||||
if (beatmapInfo != null)
|
||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(beatmapInfo);
|
||||
|
||||
this.Push(new Editor(this));
|
||||
ValidForResume = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user