mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 07:07:18 +09: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)
|
public bool Adjust(GlobalAction action)
|
||||||
{
|
{
|
||||||
|
if (!IsLoaded) return false;
|
||||||
|
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
case GlobalAction.DecreaseVolume:
|
case GlobalAction.DecreaseVolume:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user