1
0
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:
Dean Herbert 2018-08-16 18:18:08 +09:00
parent ff0dfa7acf
commit 870f6bea47

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Mods
const float relax_leniency = 3;
foreach (var drawable in playfield.HitObjects.Objects)
foreach (var drawable in playfield.HitObjects.AliveObjects)
{
if (!(drawable is DrawableOsuHitObject osuHit))
continue;