1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Simplify assignment.

This commit is contained in:
smoogipooo 2017-04-20 18:29:55 +09:00
parent 37ef91e0f3
commit b65b2bdf4c

View File

@ -138,8 +138,7 @@ namespace osu.Game.Rulesets.Osu
if (h is Spinner)
{
targetPosition.X = Frames[Frames.Count - 1].Position.X;
targetPosition.Y = Frames[Frames.Count - 1].Position.Y;
targetPosition = Frames[Frames.Count - 1].Position;
Vector2 difference = spinner_centre - targetPosition;