1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 11:12:59 +08:00

Fix crash on startup when specifying --no-version-overlay

This commit is contained in:
Dean Herbert 2018-12-27 20:08:16 +09:00
parent 00fc5197b1
commit 4a4bc8955d

View File

@ -70,9 +70,11 @@ namespace osu.Desktop
{ {
case Intro _: case Intro _:
case MainMenu _: case MainMenu _:
if (versionManager != null)
versionManager.State = Visibility.Visible; versionManager.State = Visibility.Visible;
break; break;
default: default:
if (versionManager != null)
versionManager.State = Visibility.Hidden; versionManager.State = Visibility.Hidden;
break; break;
} }