From 875115db2c5c36ca2b013c7dda21692ad88bb443 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Thu, 11 Oct 2018 20:13:54 -0500 Subject: [PATCH] Remove redundant parenthesis --- Mirror/Runtime/NetworkTransform.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mirror/Runtime/NetworkTransform.cs b/Mirror/Runtime/NetworkTransform.cs index f8f5ae210..679c3932e 100644 --- a/Mirror/Runtime/NetworkTransform.cs +++ b/Mirror/Runtime/NetworkTransform.cs @@ -1041,7 +1041,7 @@ void InterpolateTransformMode2D() if (m_InterpolateMovement != 0) { Vector2 oldVelocity = m_RigidBody2D.velocity; - Vector2 newVelocity = (((Vector2)m_TargetSyncPosition - m_RigidBody2D.position)) * m_InterpolateMovement / GetNetworkSendInterval(); + Vector2 newVelocity = ((Vector2)m_TargetSyncPosition - m_RigidBody2D.position) * m_InterpolateMovement / GetNetworkSendInterval(); if (!m_Grounded && newVelocity.y < 0) { newVelocity.y = oldVelocity.y;