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'):