mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +08:00
Disable music controls when beatmap is disabled (#5710)
Disable music controls when beatmap is disabled
This commit is contained in:
commit
69adba22b2
@ -231,6 +231,9 @@ namespace osu.Game.Overlays
|
||||
|
||||
public bool OnPressed(GlobalAction action)
|
||||
{
|
||||
if (beatmap.Disabled)
|
||||
return false;
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.MusicPlay:
|
||||
|
Loading…
Reference in New Issue
Block a user