mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix mascot getting stuck in clear state on rewind
This commit is contained in:
@ -96,9 +96,9 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
|
||||
private TaikoMascotAnimationState getNextState()
|
||||
{
|
||||
// don't change state if current animation is playing
|
||||
// (used for clear state - others are manually animated on new beats)
|
||||
if (currentAnimation != null && !currentAnimation.Completed)
|
||||
// don't change state if current animation is still playing (and we haven't rewound before it).
|
||||
// used for clear state - others are manually animated on new beats.
|
||||
if (currentAnimation?.Completed == false && currentAnimation.DisplayTime <= Time.Current)
|
||||
return State.Value;
|
||||
|
||||
if (!lastObjectHit)
|
||||
|
Reference in New Issue
Block a user