mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:12:56 +08:00
Use current
This commit is contained in:
parent
bcf0b2752e
commit
662a1a9c2c
@ -75,7 +75,7 @@ namespace osu.Game.Overlays
|
||||
/// <summary>
|
||||
/// Returns whether the current beatmap track is playing.
|
||||
/// </summary>
|
||||
public bool IsPlaying => beatmap?.Value?.Track.IsRunning ?? false;
|
||||
public bool IsPlaying => current?.Track.IsRunning ?? false;
|
||||
|
||||
private void handleBeatmapAdded(BeatmapSetInfo set) =>
|
||||
Schedule(() => beatmapSets.Add(set));
|
||||
|
Loading…
Reference in New Issue
Block a user