Use '~' prefix instead of '%' for random brushes (#362)

Fixes #337.
This commit is contained in:
Rémi Verschelde 2020-10-21 18:07:49 +02:00 committed by GitHub
parent e94bcf50e0
commit d41751d39c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ func get_brush_files_from_directory(directory: String): # -> Array
# and png one at that nya
if !the_directory.current_is_dir() and curr_file.get_extension().to_lower() == "png":
# if we are a random element, add
if "%" in curr_file:
if "~" in curr_file:
randomised_files.append(curr_file)
else:
non_randomised_files.append(curr_file)