Fix mania hitobjects not appearing early enough

This commit is contained in:
smoogipoo 2021-07-16 19:32:39 +09:00
parent 3ac58d6838
commit 05234d6c30
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ public abstract class DrawableManiaHitObject : DrawableHitObject<ManiaHitObject>
protected readonly IBindable<ScrollingDirection> Direction = new Bindable<ScrollingDirection>();
// Leaving the default (10s) makes hitobjects not appear, as this offset is used for the initial state transforms.
// Calculated as DrawableManiaRuleset.MAX_TIME_RANGE + some additional allowance for velocity < 1.
protected override double InitialLifetimeOffset => 30000;
[Resolved(canBeNull: true)]
private ManiaPlayfield playfield { get; set; }