We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52cb2a9 commit da205d8Copy full SHA for da205d8
src/object/player.cpp
@@ -1389,7 +1389,7 @@ Player::handle_vertical_input()
1389
if (m_controller->pressed(Control::JUMP)) m_jump_button_timer.start(JUMP_GRACE_TIME);
1390
if (m_controller->hold(Control::JUMP) && m_jump_button_timer.started() && (m_can_jump || m_coyote_timer.started())) {
1391
m_jump_button_timer.stop();
1392
- if (m_duck) {
+ if (m_duck && !m_sliding) {
1393
// when running, only jump a little bit; else do a backflip
1394
if ((m_physic.get_velocity_x() != 0) ||
1395
(m_controller->hold(Control::LEFT)) ||
0 commit comments