1
0
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:
smoogipoo 2019-03-12 15:24:35 +09:00
parent 059397ac50
commit 00191ca940

View File

@ -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
{