1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

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

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;