mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Start with a fresh beatmap when entering editor from main menu
This commit is contained in:
@ -33,6 +33,9 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
protected override IBeatmap GetBeatmap()
|
||||
{
|
||||
if (BeatmapInfo.Path == null)
|
||||
return BeatmapInfo.Ruleset.CreateInstance().CreateBeatmapConverter(new Beatmap()).Beatmap;
|
||||
|
||||
try
|
||||
{
|
||||
using (var stream = new LineBufferedReader(store.GetStream(getPathForFile(BeatmapInfo.Path))))
|
||||
|
Reference in New Issue
Block a user