mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 05:52:54 +08:00
Use more correct mod check to encompass more than just autoplay
This commit is contained in:
parent
e184b26cdd
commit
763f881d4a
@ -15,13 +15,12 @@ using osu.Game.Database;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Overlays.Settings;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Screens.Ranking.Statistics;
|
||||
using osuTK;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
|
||||
#nullable enable
|
||||
|
||||
@ -155,7 +154,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
if (score.NewValue == null)
|
||||
return;
|
||||
|
||||
if (score.NewValue.Mods.Any(m => m is ModAutoplay))
|
||||
if (score.NewValue.Mods.Any(m => !m.UserPlayable))
|
||||
return;
|
||||
|
||||
var hitEvents = score.NewValue.HitEvents;
|
||||
|
Loading…
Reference in New Issue
Block a user