From c02de730b3356ae30fdc1e9f632b658efebf8181 Mon Sep 17 00:00:00 2001 From: techrunner Date: Fri, 9 Aug 2024 16:44:07 -0500 Subject: [PATCH] Changed player jump to jump action instead of ui_accept --- Assets/scripts/player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/scripts/player.gd b/Assets/scripts/player.gd index e10d7b0..9569a94 100644 --- a/Assets/scripts/player.gd +++ b/Assets/scripts/player.gd @@ -33,7 +33,7 @@ func _physics_process(delta): velocity.y -= gravity * delta # Handle jump. - if Input.is_action_just_pressed("ui_accept") and is_on_floor() and current_condition != CONDITION.COUGHING and current_condition != CONDITION.SEVERE_COUGHING: + if Input.is_action_just_pressed("jump") and is_on_floor() and current_condition != CONDITION.COUGHING and current_condition != CONDITION.SEVERE_COUGHING: velocity.y = JUMP_VELOCITY # Get the input direction and handle the movement/deceleration.