mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Disable automatic lifetime management
This commit is contained in:
parent
ac47399e6e
commit
d4d3a6621e
@ -109,6 +109,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
public override bool RemoveCompletedTransforms => false;
|
||||
protected override bool RequiresChildrenUpdate => true;
|
||||
|
||||
public override bool ResetLifetimeWhenAssigned => false; // DHOs do their own lifetime management.
|
||||
|
||||
public override bool IsPresent => base.IsPresent || (State.Value == ArmedState.Idle && Clock?.CurrentTime >= LifetimeStart);
|
||||
|
||||
private readonly Bindable<ArmedState> state = new Bindable<ArmedState>();
|
||||
|
Loading…
Reference in New Issue
Block a user