Fix `HitCircleLateFade` failures due to hitcircle not being loaded when applying mods

This commit is contained in:
Bartłomiej Dach 2023-09-05 23:35:03 +02:00
parent 03c61a573e
commit 6d3a6b7a5d
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ private TestDrawableHitCircle createCircle(bool shouldHit = false)
drawableHitCircle.Scale = new Vector2(2f); drawableHitCircle.Scale = new Vector2(2f);
LoadComponent(drawableHitCircle);
foreach (var mod in SelectedMods.Value.OfType<IApplicableToDrawableHitObject>()) foreach (var mod in SelectedMods.Value.OfType<IApplicableToDrawableHitObject>())
mod.ApplyToDrawableHitObject(drawableHitCircle); mod.ApplyToDrawableHitObject(drawableHitCircle);