From 633c0bf9017a59a379228dffe960c9048eecfdb9 Mon Sep 17 00:00:00 2001 From: Nathan Franke Date: Thu, 16 May 2024 05:21:35 -0500 Subject: [PATCH] Workaround `generate_reference` error in Godot 4.2.x Fixes 95 --- godot-scripts/ReferenceCollectorCLIGd4.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godot-scripts/ReferenceCollectorCLIGd4.gd b/godot-scripts/ReferenceCollectorCLIGd4.gd index df3a765..b086485 100644 --- a/godot-scripts/ReferenceCollectorCLIGd4.gd +++ b/godot-scripts/ReferenceCollectorCLIGd4.gd @@ -12,7 +12,7 @@ var is_recursive: = true var patterns := ["*.gd"] -func _init() -> void: +func _initialize() -> void: var files := PackedStringArray() for dirpath in directories: files.append_array(Collector.find_files(dirpath, patterns, is_recursive))