Correct Visibility and Naming Issue

This commit is contained in:
Julia Butenhoff 2021-11-29 12:17:28 -06:00
parent 58050dbc85
commit 7185e3b870
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class Thunderstorm : MonoBehaviour
ZAP_COUNTDOWN -= Time.fixedDeltaTime;
if(ZAP_COUNTDOWN >= 0)
{
playerController.getHit(down, 100); //Needs to be tested if force is appropriate
playerController.GetHit(down, 100); //Needs to be tested if force is appropriate
ZAP_COUNTDOWN = 5.0f;
}
}

View File

@ -370,7 +370,7 @@ public class PlayerMovement : NetworkBehaviour
}
//Ragdoll Functions
private void GetHit(Vector3 dir, float force){
public void GetHit(Vector3 dir, float force){
if(firstHit == false){
EnableRagdoll();
dir.Normalize();