1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 00:23:01 +08:00

Fix CatcherAnimationState is Fail if missing banana shower

This commit is contained in:
Andrei Zavatski 2020-03-11 21:14:07 +03:00
parent cb0e698e04
commit 09b9983286

View File

@ -345,7 +345,10 @@ namespace osu.Game.Rulesets.Catch.UI
if (validCatch)
updateState(fruit.Kiai ? CatcherAnimationState.Kiai : CatcherAnimationState.Idle);
else
updateState(CatcherAnimationState.Fail);
{
if (!(fruit is Banana))
updateState(CatcherAnimationState.Fail);
}
return validCatch;
}