mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 18:52:55 +08:00
Add back early return in OnReleased
for safety
This commit is contained in:
parent
693427918b
commit
814f0b3fed
@ -329,6 +329,10 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
||||
if (HoldStartTime == null)
|
||||
return;
|
||||
|
||||
// do not run any of this logic when rewinding, as it inverts order of presses/releases.
|
||||
if (Time.Elapsed < 0)
|
||||
return;
|
||||
|
||||
Tail.UpdateResult();
|
||||
endHold();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user