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
commit c72e2aefda
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ private void updateDisplay(WorkingBeatmap beatmap, TransformDirection direction)
{
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;