mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-26 10:15:39 -05:00
Correct Visibility and Naming Issue
This commit is contained in:
parent
58050dbc85
commit
7185e3b870
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user