1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

Remove unnecessary null check

This commit is contained in:
Dean Herbert 2017-12-26 15:33:02 +09:00
parent e14ad31a07
commit 024d9a6850

View File

@ -59,8 +59,6 @@ namespace osu.Game.Tests.Visual
{
TestSongSelect songSelect = null;
if (manager == null)
{
var storage = new TestStorage(@"TestCasePlaySongSelect");
// this is by no means clean. should be replacing inside of OsuGameBase somehow.
@ -73,7 +71,6 @@ namespace osu.Game.Tests.Visual
{
DefaultBeatmap = defaultBeatmap = baseManager.GetWorkingBeatmap(null)
});
}
void loadNewSongSelect(bool deleteMaps = false) => AddStep("reload song select", () =>
{