mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 22:22:54 +08:00
Fix playback position being set incorrectly for IAnimationTimeReference
This commit is contained in:
parent
66b8a8ad2e
commit
33c64428a8
@ -72,7 +72,7 @@ namespace osu.Game.Skinning
|
|||||||
if (timeReference != null)
|
if (timeReference != null)
|
||||||
{
|
{
|
||||||
Clock = timeReference.Clock;
|
Clock = timeReference.Clock;
|
||||||
PlaybackPosition = timeReference.AnimationStartTime - timeReference.Clock.CurrentTime;
|
PlaybackPosition = timeReference.Clock.CurrentTime - timeReference.AnimationStartTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user