mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 19:12:59 +08:00
Never set waitingOnFrames
if a replay is not attached
This commit is contained in:
parent
57daaa7fed
commit
65ce4ca390
@ -189,7 +189,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
double timeBehind = Math.Abs(proposedTime - referenceClock.CurrentTime);
|
double timeBehind = Math.Abs(proposedTime - referenceClock.CurrentTime);
|
||||||
|
|
||||||
isCatchingUp.Value = timeBehind > 200;
|
isCatchingUp.Value = timeBehind > 200;
|
||||||
waitingOnFrames.Value = state == PlaybackState.NotValid;
|
waitingOnFrames.Value = hasReplayAttached && state == PlaybackState.NotValid;
|
||||||
|
|
||||||
manualClock.CurrentTime = proposedTime;
|
manualClock.CurrentTime = proposedTime;
|
||||||
manualClock.Rate = Math.Abs(referenceClock.Rate) * direction;
|
manualClock.Rate = Math.Abs(referenceClock.Rate) * direction;
|
||||||
|
Loading…
Reference in New Issue
Block a user