mirror of
https://github.com/osukey/osukey.git
synced 2025-06-25 05:07:59 +09:00
Fix crash on opening options before intro has played.
This commit is contained in:
parent
e356758a7d
commit
5ec2db6558
@ -194,7 +194,7 @@ namespace osu.Game
|
|||||||
|
|
||||||
private bool globalHotkeyPressed(InputState state, KeyDownEventArgs args)
|
private bool globalHotkeyPressed(InputState state, KeyDownEventArgs args)
|
||||||
{
|
{
|
||||||
if (args.Repeat) return false;
|
if (args.Repeat || intro == null) return false;
|
||||||
|
|
||||||
switch (args.Key)
|
switch (args.Key)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user