1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Merge pull request #2527 from peppy/fix-mousewheel-startup-crash

Fix crash on startup when adjusting volume before volume control loaded
This commit is contained in:
Dean Herbert 2018-05-14 14:23:08 +09:00 committed by GitHub
commit 5c41e7c39c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,8 @@ namespace osu.Game.Overlays
public bool Adjust(GlobalAction action)
{
if (!IsLoaded) return false;
switch (action)
{
case GlobalAction.DecreaseVolume: