1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 08:07:26 +08:00

Fix lifetimes being set too late.

This commit is contained in:
Dean Herbert 2017-04-05 19:58:57 +09:00
parent 3b3455afb3
commit 5f79df3697
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 3 additions and 8 deletions

View File

@ -56,15 +56,14 @@ namespace osu.Game.Modes.Taiko.Objects.Drawables
Alpha = 0.75f
}
};
LifetimeStart = BarLine.StartTime - BarLine.ScrollTime * 2;
LifetimeEnd = BarLine.StartTime + BarLine.ScrollTime;
}
protected override void LoadComplete()
{
base.LoadComplete();
LifetimeStart = BarLine.StartTime - BarLine.ScrollTime * 2;
LifetimeEnd = BarLine.StartTime + BarLine.ScrollTime;
Delay(BarLine.StartTime - Time.Current);
FadeOut(base_fadeout_time * BarLine.ScrollTime / 1000);
}

View File

@ -54,12 +54,8 @@ namespace osu.Game.Modes.Taiko.Objects.Drawables
});
MainPiece.KiaiMode = HitObject.Kiai;
}
protected override void LoadComplete()
{
LifetimeStart = HitObject.StartTime - HitObject.ScrollTime * 2;
base.LoadComplete();
}
protected override TaikoJudgement CreateJudgement() => new TaikoJudgement();