chore: tidy

This commit is contained in:
cha0s 2019-04-13 18:20:26 -05:00
parent 19107ff513
commit 8dc8daa641

View File

@ -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);