mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 20:47:24 +09: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)
|
if (h is Spinner)
|
||||||
{
|
{
|
||||||
targetPosition.X = Frames[Frames.Count - 1].Position.X;
|
targetPosition = Frames[Frames.Count - 1].Position;
|
||||||
targetPosition.Y = Frames[Frames.Count - 1].Position.Y;
|
|
||||||
|
|
||||||
Vector2 difference = spinner_centre - targetPosition;
|
Vector2 difference = spinner_centre - targetPosition;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user