We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a2b8a commit 27bbeb5Copy full SHA for 27bbeb5
1 file changed
scenes/game_elements/characters/enemies/guard/components/guard.gd
@@ -395,7 +395,8 @@ func _set_patrol_path(new_patrol_path: Path2D) -> void:
395
396
func _set_wait_time(new_wait_time: float) -> void:
397
wait_time = new_wait_time
398
- waiting_timer.wait_time = wait_time
+ if waiting_timer:
399
+ waiting_timer.wait_time = wait_time
400
401
402
func _on_instant_detection_area_body_entered(body: Node2D) -> void:
0 commit comments