idk
This commit is contained in:
@@ -5,7 +5,9 @@ signal interacted(player: Player)
|
||||
|
||||
@export var auto_interact: bool = false
|
||||
|
||||
func interact(player: Player) -> void: interacted.emit(player)
|
||||
func interact(player: Player) -> void:
|
||||
if !auto_interact:
|
||||
interacted.emit(player)
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
|
||||
Reference in New Issue
Block a user