From 870f6bea47cb9f563ffe8d7424c7cd864de6e0d6 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 16 Aug 2018 18:18:08 +0900 Subject: [PATCH] Only process alive objects --- osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs b/osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs index f0e7891a96..744b313f70 100644 --- a/osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs +++ b/osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs @@ -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;