mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Actually set the beatmap difficulty
This commit is contained in:
parent
059397ac50
commit
00191ca940
@ -246,7 +246,7 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
public void TestImportWithDuplicateBeatmapIDs()
|
||||
{
|
||||
//unfortunately for the time being we need to reference osu.Framework.Desktop for a game host here.
|
||||
using (HeadlessGameHost host = new CleanRunHeadlessGameHost($"TestImportWithDuplicateBeatmapID"))
|
||||
using (HeadlessGameHost host = new CleanRunHeadlessGameHost("TestImportWithDuplicateBeatmapID"))
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -258,7 +258,7 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
AuthorString = "SomeAuthor"
|
||||
};
|
||||
|
||||
BeatmapDifficulty difficulty = null;
|
||||
var difficulty = new BeatmapDifficulty();
|
||||
|
||||
var toImport = new BeatmapSetInfo
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user