1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:47:24 +08:00

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 @@ namespace osu.Game.Rulesets.Catch.UI
dashing = value;
trails.DisplayTrail |= dashing;
trails.DisplayTrail = value || HyperDashing;
}
}

View File

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