Fixed warns

This commit is contained in:
Thomas Muller 2024-12-23 13:08:53 -05:00
parent 5a5da49d6b
commit 92a6d558cc
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

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