mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Prevent KeysPerSecondCounter from NRE when no instance is initialized
This commit is contained in:
@ -1046,7 +1046,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
fadeOut();
|
||||
|
||||
KeysPerSecondCalculator.GetInstance().Dispose();
|
||||
KeysPerSecondCalculator.GetInstance()?.Dispose();
|
||||
|
||||
return base.OnExiting(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user