mirror of https://github.com/ppy/osu
Fix mania hitobjects not appearing early enough
This commit is contained in:
parent
3ac58d6838
commit
05234d6c30
|
@ -22,6 +22,10 @@ public abstract class DrawableManiaHitObject : DrawableHitObject<ManiaHitObject>
|
||||||
|
|
||||||
protected readonly IBindable<ScrollingDirection> Direction = new Bindable<ScrollingDirection>();
|
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)]
|
[Resolved(canBeNull: true)]
|
||||||
private ManiaPlayfield playfield { get; set; }
|
private ManiaPlayfield playfield { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue