Use the playable beatmap for file presence checks

This commit is contained in:
Naxess
2021-04-20 01:33:19 +02:00
parent be6a02a17e
commit 14c626ffcb
3 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ namespace osu.Game.Rulesets.Edit.Checks
{
protected override CheckCategory Category => CheckCategory.Resources;
protected override string TypeOfFile => "background";
protected override string GetFilename(IWorkingBeatmap workingBeatmap) => workingBeatmap.Beatmap.Metadata?.BackgroundFile;
protected override string GetFilename(IBeatmap playableBeatmap) => playableBeatmap.Metadata?.BackgroundFile;
}
}