Fixed jumping bug
This commit is contained in:
		@@ -206,7 +206,7 @@ namespace Player
 | 
			
		||||
        private void Jump()
 | 
			
		||||
        {
 | 
			
		||||
            BaseSpeed = MaxAirSpeed;
 | 
			
		||||
            _playerRigidbody2D.velocity = Vector2.up * DefaultJumpForce;
 | 
			
		||||
            _playerRigidbody2D.velocity = new Vector2(_playerRigidbody2D.velocity.x, DefaultJumpForce);
 | 
			
		||||
            _canJump = false;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user