mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Let the catcher be responsible for stopping the trails
This commit is contained in:
parent
25f73c0b9f
commit
b44a70ef9a
@ -74,7 +74,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
|
||||
dashing = value;
|
||||
|
||||
trails.DisplayTrail |= dashing;
|
||||
trails.DisplayTrail = value || HyperDashing;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user