mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Merge remote-tracking branch 'upstream/master' into toolbar-rulesets-refactor
This commit is contained in:
@ -167,6 +167,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
{
|
||||
OnRevertResult?.Invoke(this, Result);
|
||||
|
||||
Result.TimeOffset = 0;
|
||||
Result.Type = HitResult.None;
|
||||
State.Value = ArmedState.Idle;
|
||||
}
|
||||
@ -243,6 +244,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>
|
||||
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;
|
||||
|
||||
if (AllJudged)
|
||||
|
Reference in New Issue
Block a user