mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
fixed a couple of the bugs that was found in playtest 3
This commit is contained in:
@@ -288,6 +288,7 @@ public class dPlayerMovement : NetworkBehaviour
|
||||
if(wallRun.IsWallRunning()){
|
||||
AddImpact((wallRun.GetWallJumpDirection()), pStats.JumpPow * 8f);
|
||||
g = pStats.JumpPow;
|
||||
curJumpNum = 0;
|
||||
}
|
||||
|
||||
else{
|
||||
@@ -409,7 +410,7 @@ public class dPlayerMovement : NetworkBehaviour
|
||||
//Gliding
|
||||
if(pStats.HasGlider && g < 0 && Input.GetButton("Jump")){
|
||||
//Gravity with glider
|
||||
GravityCalculation(6);
|
||||
GravityCalculation(8);
|
||||
|
||||
//Set temp values to put traction back to normal
|
||||
if(tempSet == false){
|
||||
|
||||
Reference in New Issue
Block a user