mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 20:22:55 +08:00
Don't show offset calibration controls when "relax" mod is active
Closes https://github.com/ppy/osu/issues/22892.
This commit is contained in:
parent
7c1ccefa4a
commit
c65a79614d
@ -18,6 +18,7 @@ using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Overlays.Settings;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Screens.Ranking.Statistics;
|
||||
@ -183,7 +184,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
if (score.NewValue == null)
|
||||
return;
|
||||
|
||||
if (score.NewValue.Mods.Any(m => !m.UserPlayable))
|
||||
if (score.NewValue.Mods.Any(m => !m.UserPlayable || m is ModRelax))
|
||||
return;
|
||||
|
||||
var hitEvents = score.NewValue.HitEvents;
|
||||
|
Loading…
Reference in New Issue
Block a user