mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 03:33:19 +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]
|
[BackgroundDependencyLoader]
|
||||||
private void load(BeatmapDatabase db)
|
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()
|
public override void Reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user