From 6008876da463a572818002c0bfa525a3502fe6be Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 28 Dec 2024 16:34:47 +0100 Subject: [PATCH] Minor cleanup. --- objects/player.gd | 2 -- 1 file changed, 2 deletions(-) diff --git a/objects/player.gd b/objects/player.gd index 98fb41a..af58916 100644 --- a/objects/player.gd +++ b/objects/player.gd @@ -37,8 +37,6 @@ func _process(_delta): animation_tree.set("parameters/conditions/interact", false) func _handle_input() -> void: - # Get the input direction and handle the movement/deceleration. - # As good practice, you should replace UI actions with custom gameplay actions. var input_dir = Input.get_vector("walk_left", "walk_right", "walk_forward", "walk_back") var direction = Vector3(input_dir.x, 0, input_dir.y).normalized() if direction: