mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 23:12:59 +08:00
Remove unnecessary null check.
This commit is contained in:
parent
f224960429
commit
ce13d813b7
@ -29,7 +29,7 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(BeatmapDatabase db)
|
||||
{
|
||||
beatmap = db?.GetWorkingBeatmap(db.Query<BeatmapInfo>().Where(b => b.Mode == PlayMode.Osu).FirstOrDefault());
|
||||
beatmap = db.GetWorkingBeatmap(db.Query<BeatmapInfo>().Where(b => b.Mode == PlayMode.Osu).FirstOrDefault());
|
||||
}
|
||||
|
||||
public override void Reset()
|
||||
|
Loading…
Reference in New Issue
Block a user