1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 07:22:55 +08:00

Disable music controls when beatmap is disabled

This commit is contained in:
smoogipoo 2019-08-14 15:19:21 +09:00
parent 8307ee330c
commit 3a79a4149a

View File

@ -231,6 +231,9 @@ namespace osu.Game.Overlays
public bool OnPressed(GlobalAction action)
{
if (beatmap.Disabled)
return false;
switch (action)
{
case GlobalAction.MusicPlay: