1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 20:22:55 +08:00

Nest adjustments for readability

This commit is contained in:
Dean Herbert 2021-06-16 16:32:59 +09:00
parent 18343160cf
commit 98e0e89d3f

View File

@ -49,15 +49,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
switch (hitObject)
{
case DrawableDrumRollTick _:
break;
case DrawableHit _:
break;
default:
return;
}
double preempt = 10000 / MultiplierAt(hitObject.HitObject.StartTime);
double start = hitObject.HitObject.StartTime - preempt * 0.6;
double duration = preempt * 0.3;
@ -72,6 +64,9 @@ namespace osu.Game.Rulesets.Taiko.Mods
? hitObject.HitObject.GetEndTime() + hitObject.HitObject.HitWindows.WindowFor(HitResult.Miss)
: hitObject.HitStateUpdateTime;
}
break;
}
}
public void ReadFromDifficulty(BeatmapDifficulty difficulty)