mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Simplify assignment.
This commit is contained in:
parent
37ef91e0f3
commit
b65b2bdf4c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user