diff --git a/CharacterController2D.cs b/CharacterController2D.cs index 925bfe0..914823d 100644 --- a/CharacterController2D.cs +++ b/CharacterController2D.cs @@ -64,7 +64,7 @@ private void FixedUpdate() public void Move(float move, bool crouch, bool jump) { // If crouching, check to see if the character can stand up - if (!crouch) + if (crouch) { // If the character has a ceiling preventing them from standing up, keep them crouching if (Physics2D.OverlapCircle(m_CeilingCheck.position, k_CeilingRadius, m_WhatIsGround))