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:
parent
00fc5197b1
commit
4a4bc8955d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user