mirror of https://github.com/ppy/osu
Merge pull request #280 from huoyaoyuan/fixes
Fix PreferUnicode changing when nothing to play.
This commit is contained in:
commit
c72e2aefda
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue