diff --git a/Scripts/Classes/States/Player/Dead.gd b/Scripts/Classes/States/Player/Dead.gd index 99c3157..d1bde73 100644 --- a/Scripts/Classes/States/Player/Dead.gd +++ b/Scripts/Classes/States/Player/Dead.gd @@ -25,5 +25,5 @@ func physics_update(delta: float) -> void: player.velocity.y += (player.JUMP_GRAVITY / delta) * delta player.velocity.y = clamp(player.velocity.y, -INF, player.MAX_FALL_SPEED) player.move_and_slide() - if Input.is_action_just_pressed("jump_0"): + if Input.is_action_just_pressed("ui_accept") or Input.is_action_just_pressed("jump_0"): player.death_load() diff --git a/Scripts/Parts/LevelTransition.gd b/Scripts/Parts/LevelTransition.gd index 99e4f6c..31dd4c9 100644 --- a/Scripts/Parts/LevelTransition.gd +++ b/Scripts/Parts/LevelTransition.gd @@ -115,7 +115,7 @@ func show_best_time() -> void: func _process(_delta: float) -> void: if can_transition: - if Input.is_action_just_pressed("ui_accept"): + if Input.is_action_just_pressed("ui_accept") or Input.is_action_just_pressed("jump_0"): transition() func _exit_tree() -> void: