1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 06:12:56 +08:00

was persuaded I changed the if statement...

This commit is contained in:
Vidalee 2018-03-21 21:14:17 +01:00
parent 8159e219fd
commit 505a7c14fc

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Osu.Mods
foreach (var d in drawables.OfType<DrawableOsuHitObject>())
{
//Don't hide the first object if the increaseFirstObjectVisibility is true ("drawables" are in a reverse order -> Last() )
if (d == drawables.Last() && (increaseFirstObjectVisibility == null || increaseFirstObjectVisibility)) continue;
if (d == drawables.Last() && increaseFirstObjectVisibility) continue;
d.ApplyCustomUpdateState += ApplyHiddenState;
d.HitObject.TimeFadein = d.HitObject.TimePreempt * fade_in_duration_multiplier;