mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move catcher state changing logic to OnNewResult method
This commit is contained in:
@ -58,10 +58,9 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
|
||||
Schedule(() =>
|
||||
{
|
||||
bool caught = area.AttemptCatch(fruit);
|
||||
area.OnNewResult(drawable, new JudgementResult(fruit, new CatchJudgement())
|
||||
{
|
||||
Type = caught ? HitResult.Great : HitResult.Miss
|
||||
Type = area.MovableCatcher.CanCatch(fruit) ? HitResult.Great : HitResult.Miss
|
||||
});
|
||||
|
||||
drawable.Expire();
|
||||
|
Reference in New Issue
Block a user