mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09: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;
|
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);
|
displayCatcherTrail(CatcherTrailAnimation.HyperDashAfterimage);
|
||||||
|
|
||||||
if (Catcher.Dashing || Catcher.HyperDashing)
|
if (Catcher.Dashing || Catcher.HyperDashing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user