mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08:00
Don't update hitobject results when rewinding
This commit is contained in:
parent
8014238901
commit
27fdda8b91
@ -243,6 +243,10 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
/// <returns>Whether a scoring result has occurred from this <see cref="DrawableHitObject"/> or any nested <see cref="DrawableHitObject"/>.</returns>
|
/// <returns>Whether a scoring result has occurred from this <see cref="DrawableHitObject"/> or any nested <see cref="DrawableHitObject"/>.</returns>
|
||||||
protected bool UpdateResult(bool userTriggered)
|
protected bool UpdateResult(bool userTriggered)
|
||||||
{
|
{
|
||||||
|
// It's possible for input to get into a bad state when rewinding gameplay, so results should not be processed
|
||||||
|
if (Time.Elapsed < 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
judgementOccurred = false;
|
judgementOccurred = false;
|
||||||
|
|
||||||
if (AllJudged)
|
if (AllJudged)
|
||||||
|
Loading…
Reference in New Issue
Block a user