diff --git a/osu.Game/Overlays/OnlineBeatmapSet/PreviewButton.cs b/osu.Game/Overlays/OnlineBeatmapSet/PreviewButton.cs index 8e93db8d19..dacb1c3743 100644 --- a/osu.Game/Overlays/OnlineBeatmapSet/PreviewButton.cs +++ b/osu.Game/Overlays/OnlineBeatmapSet/PreviewButton.cs @@ -76,11 +76,14 @@ namespace osu.Game.Overlays.OnlineBeatmapSet { OnLoadComplete = d => { - loading = false; + if (d is AudioLoadWrapper) + { + loading = false; - preview = (d as AudioLoadWrapper).Preview; - Playing = Playing; - updatePlayingState(); + preview = ((AudioLoadWrapper)d).Preview; + Playing = Playing; + updatePlayingState(); + } }, });