Fixed PlayerMovevment Bug

This commit is contained in:
2021-12-13 12:24:29 -06:00
parent de0f6c1a0b
commit ae287e391a
2 changed files with 1 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ public class PlayerMovement : NetworkBehaviour
//Apply Impact for when force needs to be applied without ragdolling
public void AddImpact(Vector3 dir, float force)
{
//if (!IsLocalPlayer) { return; }
if (!IsLocalPlayer) { return; }
//Normalize direction multiply by force and add it to the impact
dir.Normalize();