mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 05:17:17 +08:00
Combine conditionals that provide the same behaviour
This commit is contained in:
parent
8c67f58e2d
commit
58d2268b9e
@ -118,9 +118,6 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
try
|
||||
{
|
||||
if (!FrameStablePlayback)
|
||||
manualClock.CurrentTime = newProposedTime;
|
||||
|
||||
if (firstConsumption)
|
||||
{
|
||||
// On the first update, frame-stability seeking would result in unexpected/unwanted behaviour.
|
||||
@ -141,7 +138,7 @@ namespace osu.Game.Rulesets.UI
|
||||
: Math.Max(newProposedTime, manualClock.CurrentTime - sixty_frame_time);
|
||||
}
|
||||
|
||||
if (!isAttached)
|
||||
if (!isAttached || !FrameStablePlayback)
|
||||
{
|
||||
manualClock.CurrentTime = newProposedTime;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user