Let the catcher be responsible for stopping the trails

This commit is contained in:
Salman Ahmed 2020-05-07 01:46:37 +03:00
parent 25f73c0b9f
commit b44a70ef9a
No known key found for this signature in database
GPG Key ID: ED81FD33FD9B58BC
2 changed files with 2 additions and 5 deletions

View File

@ -74,7 +74,7 @@ protected set
dashing = value;
trails.DisplayTrail |= dashing;
trails.DisplayTrail = value || HyperDashing;
}
}

View File

@ -103,11 +103,8 @@ public void DisplayEndGlow()
private void displayTrail()
{
if (!catcher.Dashing && !catcher.HyperDashing)
{
DisplayTrail = false;
if (!DisplayTrail)
return;
}
var sprite = createTrailSprite(catcher.HyperDashing ? hyperDashTrails : dashTrails);