mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 01:17:19 +08:00
Fix crash on startup when adjusting volume before volume control loaded
This commit is contained in:
parent
18de235486
commit
a14531b9a4
@ -100,6 +100,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
public bool Adjust(GlobalAction action)
|
||||
{
|
||||
if (!IsLoaded) return false;
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.DecreaseVolume:
|
||||
|
Loading…
x
Reference in New Issue
Block a user