mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Only process alive objects
This commit is contained in:
parent
ff0dfa7acf
commit
870f6bea47
@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
const float relax_leniency = 3;
|
const float relax_leniency = 3;
|
||||||
|
|
||||||
foreach (var drawable in playfield.HitObjects.Objects)
|
foreach (var drawable in playfield.HitObjects.AliveObjects)
|
||||||
{
|
{
|
||||||
if (!(drawable is DrawableOsuHitObject osuHit))
|
if (!(drawable is DrawableOsuHitObject osuHit))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user