palettes_path is always the root directory plus the "Palettes" subdirectory

Also updated Agnis Aldiņš (NeZvers)'s name in the translators
This commit is contained in:
OverloadedOrama 2020-02-12 15:54:24 +02:00
parent f3759d677e
commit 3eaeef0f58
2 changed files with 2 additions and 2 deletions

View file

@ -150,7 +150,7 @@ func on_color_select(index : int) -> void:
Global.update_right_custom_brush()
func _load_palettes() -> void:
palettes_path = Global.root_directory.plus_file(palettes_path)
palettes_path = Global.root_directory.plus_file("Palettes")
var dir := Directory.new()
dir.open(Global.root_directory)
if not dir.dir_exists(palettes_path):