mirror of https://github.com/ppy/osu
Fix incorrect method name
This commit is contained in:
parent
db3e48c194
commit
794418432f
|
@ -30,7 +30,7 @@ public BeatmapManagerWorkingBeatmap(IResourceStore<byte[]> store, BeatmapInfo be
|
|||
this.audioManager = audioManager;
|
||||
}
|
||||
|
||||
protected override IBeatmap GetPlayableBeatmap()
|
||||
protected override IBeatmap GetBeatmap()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ public DummyWorkingBeatmap(OsuGameBase game)
|
|||
this.game = game;
|
||||
}
|
||||
|
||||
protected override IBeatmap GetPlayableBeatmap() => new Beatmap();
|
||||
protected override IBeatmap GetBeatmap() => new Beatmap();
|
||||
|
||||
protected override Texture GetBackground() => game.Textures.Get(@"Backgrounds/bg4");
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public void Save()
|
|||
Process.Start(path);
|
||||
}
|
||||
|
||||
protected abstract IBeatmap GetPlayableBeatmap();
|
||||
protected abstract IBeatmap GetBeatmap();
|
||||
protected abstract Texture GetBackground();
|
||||
protected abstract Track GetTrack();
|
||||
protected virtual Skin GetSkin() => new DefaultSkin();
|
||||
|
@ -71,7 +71,7 @@ public void Save()
|
|||
|
||||
private IBeatmap populateBeatmap()
|
||||
{
|
||||
var b = GetPlayableBeatmap() ?? new Beatmap();
|
||||
var b = GetBeatmap() ?? new Beatmap();
|
||||
|
||||
// use the database-backed info.
|
||||
b.BeatmapInfo = BeatmapInfo;
|
||||
|
|
|
@ -24,7 +24,7 @@ public TestWorkingBeatmap(IBeatmap beatmap)
|
|||
}
|
||||
|
||||
private readonly IBeatmap beatmap;
|
||||
protected override IBeatmap GetPlayableBeatmap() => beatmap;
|
||||
protected override IBeatmap GetBeatmap() => beatmap;
|
||||
protected override Texture GetBackground() => null;
|
||||
|
||||
protected override Track GetTrack()
|
||||
|
|
Loading…
Reference in New Issue