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

View File

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