1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +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;
beatmapSet = value;
Preview.Stop(parentOverlayContainer);
Preview?.Stop(parentOverlayContainer);
Playing.Value = false;
Preview = null;
}