diff --git a/content/scripts/player.gd b/content/scripts/player.gd index 27640de..3fa7ff1 100644 --- a/content/scripts/player.gd +++ b/content/scripts/player.gd @@ -476,6 +476,8 @@ func _on_idle_state_processing(_delta: float) -> void: state_chart.send_event("Move") if Input.is_action_just_pressed("cc_sprint"): state_chart.send_event("Crouch") + if Input.is_action_just_pressed("cc_jump"): + state_chart.send_event("Jump") func _on_moving_state_processing(_delta: float) -> void: