mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:25:04 +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;
|
dashing = value;
|
||||||
|
|
||||||
trails.DisplayTrail |= dashing;
|
trails.DisplayTrail = value || HyperDashing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,11 +103,8 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
|
|
||||||
private void displayTrail()
|
private void displayTrail()
|
||||||
{
|
{
|
||||||
if (!catcher.Dashing && !catcher.HyperDashing)
|
if (!DisplayTrail)
|
||||||
{
|
|
||||||
DisplayTrail = false;
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
var sprite = createTrailSprite(catcher.HyperDashing ? hyperDashTrails : dashTrails);
|
var sprite = createTrailSprite(catcher.HyperDashing ? hyperDashTrails : dashTrails);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user