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:
parent
e14ad31a07
commit
024d9a6850
@ -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", () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user