mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
name changes
This commit is contained in:
parent
cb17fb2091
commit
23d435bc42
@ -49,12 +49,12 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
foreach (var obj in beatmap.HitObjects.OfType<OsuHitObject>())
|
||||
{
|
||||
var point = beatmap.ControlPointInfo.TimingPointAt(obj.StartTime);
|
||||
double val = obj.TimePreempt + obj.StartTime % (point.BeatLength * BeatDivisor.Value);
|
||||
double newPreempt = obj.TimePreempt + (obj.StartTime +5) % (point.BeatLength * BeatDivisor.Value);
|
||||
applyFadeInAdjustment(obj);
|
||||
|
||||
void applyFadeInAdjustment(OsuHitObject osuObject)
|
||||
{
|
||||
osuObject.TimePreempt = val;
|
||||
osuObject.TimePreempt = newPreempt;
|
||||
foreach (var nested in osuObject.NestedHitObjects.OfType<OsuHitObject>())
|
||||
applyFadeInAdjustment(nested);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user