chore: tidy
This commit is contained in:
parent
19107ff513
commit
8dc8daa641
|
@ -98,9 +98,8 @@ function createMoveToNormal(position) {
|
|||
if (!selfEntity) {
|
||||
return;
|
||||
}
|
||||
const entityPosition = selfEntity.position;
|
||||
const realEntityPosition = Vector.sub(
|
||||
entityPosition,
|
||||
selfEntity.position,
|
||||
selfEntity.camera.realOffset,
|
||||
);
|
||||
const magnitude = Vector.magnitude(position, realEntityPosition);
|
||||
|
|
Loading…
Reference in New Issue
Block a user