Fixed warns
This commit is contained in:
parent
5a5da49d6b
commit
92a6d558cc
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue