mirror of https://github.com/ppy/osu
Fix crash on startup when adjusting volume before volume control loaded
This commit is contained in:
parent
18de235486
commit
a14531b9a4
|
@ -100,6 +100,8 @@ private void settingChanged()
|
|||
|
||||
public bool Adjust(GlobalAction action)
|
||||
{
|
||||
if (!IsLoaded) return false;
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.DecreaseVolume:
|
||||
|
|
Loading…
Reference in New Issue