diff --git a/src/Autoload/Export.gd b/src/Autoload/Export.gd index 4046cc8e5..85b3c04f4 100644 --- a/src/Autoload/Export.gd +++ b/src/Autoload/Export.gd @@ -302,7 +302,6 @@ func export_processed_images( ignore_overwrites: bool, export_dialog: ConfirmationDialog, project := Global.current_project ) -> bool: # Stop export if directory path or file name are not valid - var dir := DirAccess.open(project.export_directory_path) var dir_exists := DirAccess.dir_exists_absolute(project.export_directory_path) var is_valid_filename := project.file_name.is_valid_filename() if not dir_exists: diff --git a/src/UI/TopMenuContainer/TopMenuContainer.gd b/src/UI/TopMenuContainer/TopMenuContainer.gd index ee037cecf..a45630c5d 100644 --- a/src/UI/TopMenuContainer/TopMenuContainer.gd +++ b/src/UI/TopMenuContainer/TopMenuContainer.gd @@ -837,7 +837,6 @@ func help_menu_id_pressed(id: int) -> void: Global.HelpMenu.ISSUE_TRACKER: OS.shell_open(ISSUES_URL) Global.HelpMenu.OPEN_EDITOR_DATA_FOLDER: - var dir := DirAccess.open("user://") OS.shell_open(ProjectSettings.globalize_path("user://")) Global.HelpMenu.CHANGELOG: OS.shell_open(CHANGELOG_URL)