diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp index 3fd5f7e444d..c5c92b5228c 100644 --- a/tools/editor/editor_file_system.cpp +++ b/tools/editor/editor_file_system.cpp @@ -161,7 +161,7 @@ int EditorFileSystemDirectory::get_source_count(int p_idx) const { ERR_FAIL_INDEX_V(p_idx,files.size(),0); if (!files[p_idx]->meta.enabled) return 0; - + return files[p_idx]->meta.sources.size(); } String EditorFileSystemDirectory::get_source_file(int p_idx,int p_source) const {