mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +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);
|
||||
|
||||
Expire(true);
|
||||
|
||||
if (State == ArmedState.Hit)
|
||||
PlaySample();
|
||||
}
|
||||
@ -75,6 +77,8 @@ namespace osu.Game.Modes.Objects.Drawables
|
||||
|
||||
//force application of the state that was set before we loaded.
|
||||
UpdateState(State);
|
||||
|
||||
Expire(true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user