From 92a6d558cc324155fff1b4c21015df12affba0a8 Mon Sep 17 00:00:00 2001 From: Quantum Date: Mon, 23 Dec 2024 13:08:53 -0500 Subject: [PATCH] Fixed warns --- components/door_component.gd | 4 ++-- scenes/kreb.gd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/door_component.gd b/components/door_component.gd index d1428f1..47bb26c 100644 --- a/components/door_component.gd +++ b/components/door_component.gd @@ -60,7 +60,7 @@ func _toggle_open(): close() -func _on_anim_finished(anim_name): +func _on_anim_finished(_anim_name): _open = !_open @@ -92,7 +92,7 @@ func activate(should_open: bool): close() -func interact(other): +func interact(_other): if not interactable: return diff --git a/scenes/kreb.gd b/scenes/kreb.gd index f8f6092..950b19b 100644 --- a/scenes/kreb.gd +++ b/scenes/kreb.gd @@ -7,7 +7,7 @@ func _ready() -> void: # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta: float) -> void: +func _process(_delta: float) -> void: var closest: Node3D var least_dist = INF for p: Node3D in get_tree().get_nodes_in_group('players'):