diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index 7ccf539689..78aee12209 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -2608,7 +2608,7 @@ void FileSystemDock::_file_option(int p_option, const Vector &p_selected } break; case FILE_MENU_DUPLICATE: { - if (p_selected.size() != 1) { + if (p_selected.size() != 1 || p_selected[0] == "res://") { return; }