Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Fixed jumping so that when the jump button is held, it only jumps onc…
Browse files Browse the repository at this point in the history
…e, replicating the behavior of VRChat.
  • Loading branch information
evolvedant committed Jul 19, 2021
1 parent 0f59e69 commit 9ec99c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CyanEmu/Scripts/CyanEmuPlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ private void Update()
RotateView();
if (!jump_ && characterController_.isGrounded && jumpSpeed_ > 0)
{
jump_ = Input.GetButton("Jump");
jump_ = Input.GetButtonDown("Jump");
}

if (currentPickup_ != null)
Expand Down

0 comments on commit 9ec99c2

Please sign in to comment.