mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Properly set starting lifetime for mania hit objects.
This commit is contained in:
@ -6,6 +6,7 @@ using OpenTK.Input;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Rulesets.Mania.Judgements;
|
||||
using osu.Game.Rulesets.Mania.UI;
|
||||
using osu.Game.Rulesets.Objects.Drawables;
|
||||
|
||||
namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
||||
@ -32,6 +33,13 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
||||
Y = (float)HitObject.StartTime;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
LifetimeStart = HitObject.StartTime - ManiaPlayfield.TIME_SPAN_MAX;
|
||||
}
|
||||
|
||||
public override Color4 AccentColour
|
||||
{
|
||||
get { return base.AccentColour; }
|
||||
|
Reference in New Issue
Block a user