mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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
|
try
|
||||||
{
|
{
|
||||||
if (!FrameStablePlayback)
|
|
||||||
manualClock.CurrentTime = newProposedTime;
|
|
||||||
|
|
||||||
if (firstConsumption)
|
if (firstConsumption)
|
||||||
{
|
{
|
||||||
// On the first update, frame-stability seeking would result in unexpected/unwanted behaviour.
|
// 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);
|
: Math.Max(newProposedTime, manualClock.CurrentTime - sixty_frame_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isAttached)
|
if (!isAttached || !FrameStablePlayback)
|
||||||
{
|
{
|
||||||
manualClock.CurrentTime = newProposedTime;
|
manualClock.CurrentTime = newProposedTime;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user