mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add naive lifetime calculation for drawable HitObjects.
This commit is contained in:
@ -44,6 +44,8 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
|
|
||||||
UpdateState(state);
|
UpdateState(state);
|
||||||
|
|
||||||
|
Expire(true);
|
||||||
|
|
||||||
if (State == ArmedState.Hit)
|
if (State == ArmedState.Hit)
|
||||||
PlaySample();
|
PlaySample();
|
||||||
}
|
}
|
||||||
@ -75,6 +77,8 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
|
|
||||||
//force application of the state that was set before we loaded.
|
//force application of the state that was set before we loaded.
|
||||||
UpdateState(State);
|
UpdateState(State);
|
||||||
|
|
||||||
|
Expire(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user