mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix possibly setting null track
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.Audio;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.Extensions.IEnumerableExtensions;
|
||||
@ -19,7 +20,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
private readonly TextureStore textures;
|
||||
|
||||
public DummyWorkingBeatmap(AudioManager audio, TextureStore textures)
|
||||
public DummyWorkingBeatmap([NotNull] AudioManager audio, TextureStore textures)
|
||||
: base(new BeatmapInfo
|
||||
{
|
||||
Metadata = new BeatmapMetadata
|
||||
|
Reference in New Issue
Block a user