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:
parent
18343160cf
commit
98e0e89d3f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user