mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:43:21 +08:00
Prevent catcher trail generation while rewinding
This commit is contained in:
parent
81f23e1111
commit
a204ef39dd
@ -109,7 +109,15 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
|
||||
comboDisplay.X = Catcher.X;
|
||||
|
||||
if (!lastHyperDashState && Catcher.HyperDashing && Time.Elapsed > 0)
|
||||
if (Time.Elapsed <= 0)
|
||||
{
|
||||
// This is probably a wrong value, but currently the true value is not recorded.
|
||||
// Setting `true` will prevent generation of false-positive after-images (with more false-positives).
|
||||
lastHyperDashState = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lastHyperDashState && Catcher.HyperDashing)
|
||||
displayCatcherTrail(CatcherTrailAnimation.HyperDashAfterimage);
|
||||
|
||||
if (Catcher.Dashing || Catcher.HyperDashing)
|
||||
|
Loading…
Reference in New Issue
Block a user