mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Combine conditionals that provide the same behaviour
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user