Simplify assignment.

This commit is contained in:
smoogipooo 2017-04-20 18:29:55 +09:00
parent 37ef91e0f3
commit b65b2bdf4c
1 changed files with 1 additions and 2 deletions

View File

@ -138,8 +138,7 @@ private void createAutoReplay()
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;