diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 37f86cc9124..2b89752c089 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1408,7 +1408,7 @@ void FileSystemDock::_resource_created() const { RES current_res = RES(r); - editor->save_resource_as(current_res); + editor->save_resource_as(current_res, path); } void FileSystemDock::_go_to_file_list() {