fix: scoping

This commit is contained in:
DottsGit
2026-06-06 02:03:05 -04:00
parent a47d01632d
commit 27460be0ea
5 changed files with 66 additions and 5 deletions
+3
View File
@@ -64,6 +64,9 @@ func _build_model() -> void:
func _process(delta: float) -> void:
super._process(delta)
if not visible:
return
if camera:
is_targeting = Input.is_action_pressed("fire_alt")
targeting_laser.visible = is_targeting