Remove fade in, update comment

This commit is contained in:
David Zhao
2019-04-23 14:23:09 +09:00
parent b2b7143ed3
commit 9890884726
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,8 @@ namespace osu.Game.Rulesets.Osu.Mods
if (e.NewValue)
{
trackingSliders++;
// This check being here ensures we're only applying a dim if and only if a slider begins tracking.
// The fade should only be applied if tracking sliders is increasing from 0 to 1, and cannot be a result of a slider losing tracking.
// As a result, this logic must be exclusive to when e.NewValue is true.
if (trackingSliders == 1)
{
this.TransformTo(nameof(FlashlightDim), 0.8f, 50);