Merge pull request #280 from huoyaoyuan/fixes

Fix PreferUnicode changing when nothing to play.
This commit is contained in:
Dean Herbert
2017-01-04 02:14:33 +08:00
committed by GitHub

View File

@ -318,7 +318,7 @@ namespace osu.Game.Overlays
{
Task.Run(() =>
{
if (beatmap.Beatmap == null)
if (beatmap?.Beatmap == null)
//todo: we may need to display some default text here (currently in the constructor).
return;