From b1733905ad61a259e65e9384ec05d8b2ae17c64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 19 Aug 2025 04:31:33 +0200 Subject: [PATCH] game: remove old debug prints in attack_sword --- scenes/attacks/attack_sword.gd | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scenes/attacks/attack_sword.gd b/scenes/attacks/attack_sword.gd index 26a0b3d..811bf67 100644 --- a/scenes/attacks/attack_sword.gd +++ b/scenes/attacks/attack_sword.gd @@ -23,12 +23,8 @@ func _ready() -> void: func _process(delta: float) -> void: if timer.is_stopped() and current_progress == 0.0: - print_debug("starting timer") timer.start() - else: - print_debug("timer status: %s\nprogress: %s" % [timer.is_stopped(), current_progress]) if current_progress > 0.95: - print_debug("reset") reset_attack() if current_target and is_instance_valid(current_target) and not current_target.is_queued_for_deletion(): track_target(current_target) @@ -66,14 +62,12 @@ func track_target(body: Node2D): var angle_diff = curve_dir.angle_to(desired_dir) if rotation == 0.0: rotation = curve_dir.angle_to(desired_dir) - print_debug("tracked target") position += offset func _on_timer_timeout() -> void: if current_target: if trigger_area.has_overlapping_areas(): if current_target not in trigger_area.get_overlapping_bodies(): - print_debug("target out of range") current_target = null return if trigger_area.has_overlapping_bodies():