fix random inifinite loop when open editor
This commit is contained in:
parent
344a39dafd
commit
8804b93953
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue