From 41ea287df4edd3deabb65e2adf226a4e799abe7a Mon Sep 17 00:00:00 2001 From: HuanWuCode Date: Wed, 27 Nov 2024 07:01:00 -0800 Subject: [PATCH] Update Import.gd (#1121) --- src/Autoload/Import.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Autoload/Import.gd b/src/Autoload/Import.gd index aa2639810..42606453c 100644 --- a/src/Autoload/Import.gd +++ b/src/Autoload/Import.gd @@ -90,9 +90,9 @@ func get_brush_files_from_directory(directory: String): # -> Array func add_randomised_brush(fpaths: Array, tooltip_name: String) -> void: # Attempt to load the images from the file paths. var loaded_images: Array = [] - for filen in fpaths: + for file in fpaths: var image := Image.new() - var err := image.load(filen) + var err := image.load(file) if err == OK: image.convert(Image.FORMAT_RGBA8) loaded_images.append(image)