mirror of https://github.com/ppy/osu
Fix crash on opening options before intro has played.
This commit is contained in:
parent
e356758a7d
commit
5ec2db6558
|
@ -194,7 +194,7 @@ protected override void LoadComplete()
|
|||
|
||||
private bool globalHotkeyPressed(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
if (args.Repeat || intro == null) return false;
|
||||
|
||||
switch (args.Key)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue