diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index c007a27068b..08887f92d54 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4447,7 +4447,7 @@ void EditorNode::_dropped_files(const Vector &p_files, int p_screen) { for (int i = 0; i < p_files.size(); i++) { String from = p_files[i]; - if (!ResourceFormatImporter::get_singleton()->can_be_imported(from) && (just_copy.find(from.get_extension().to_lower()) != -1)) { + if (!ResourceFormatImporter::get_singleton()->can_be_imported(from) && (just_copy.find(from.get_extension().to_lower()) == -1)) { continue; } String to = to_path.plus_file(from.get_file());