Update null fallback cases involving OnlineID

This commit is contained in:
Dean Herbert
2021-11-22 14:55:41 +09:00
parent 37673f4cf8
commit 213d89b479
12 changed files with 20 additions and 20 deletions

View File

@ -62,7 +62,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddStep("import beatmap", () =>
{
importedBeatmap = ImportBeatmapTest.LoadOszIntoOsu(game, virtualTrack: true).GetResultSafely();
importedBeatmapId = importedBeatmap.Beatmaps.First(b => b.RulesetID == 0).OnlineID ?? -1;
importedBeatmapId = importedBeatmap.Beatmaps.First(b => b.RulesetID == 0).OnlineID;
});
}