Use current

This commit is contained in:
smoogipoo 2019-10-03 18:55:53 +09:00
parent bcf0b2752e
commit 662a1a9c2c
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public void ChangeBeatmapSetPosition(BeatmapSetInfo beatmapSetInfo, int index)
/// <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));