1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 16:47:24 +08:00

Nullref quickfix in PlayButton

This commit is contained in:
Roman Kapustin 2018-06-07 14:50:21 +03:00
parent ab6699b1fb
commit 1fdbd20471

View File

@ -29,7 +29,7 @@ namespace osu.Game.Overlays.Direct
if (value == beatmapSet) return; if (value == beatmapSet) return;
beatmapSet = value; beatmapSet = value;
Preview.Stop(parentOverlayContainer); Preview?.Stop(parentOverlayContainer);
Playing.Value = false; Playing.Value = false;
Preview = null; Preview = null;
} }