Simplify the way of getting catcher

This commit is contained in:
ekrctb 2021-07-21 16:27:44 +09:00
parent 81d0a9bd9c
commit da3499f10e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public void TestHyperDash()
// this needs to be done within the frame stable context due to how quickly hyperdash state changes occur.
Player.DrawableRuleset.FrameStableComponents.OnUpdate += d =>
{
var catcher = Player.ChildrenOfType<CatcherArea>().FirstOrDefault()?.MovableCatcher;
var catcher = Player.ChildrenOfType<Catcher>().FirstOrDefault();
if (catcher == null)
return;