fix: remove the whitespaces and clean up;

This commit is contained in:
2026-09-20 16:51:17 +02:00
parent 5d484134e7
commit 77214d4723
6 changed files with 2 additions and 13 deletions
-1
View File
@@ -3,7 +3,6 @@ extends StaticBody2D
@export var dialogue_lines: Array[String] = ["Hello!", "Good day to you!", "Welcome!"]
var can_interact: bool = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Input.is_action_just_pressed("Interact") and can_interact:
$CanvasLayer/DialogLabel.text = dialogue_lines[randi_range(0, 2)]