瀏覽代碼

Fix filesystem cache split error

kobewi 2 年之前
父節點
當前提交
7f18db9d9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_file_system.cpp

+ 1 - 1
editor/editor_file_system.cpp

@@ -262,7 +262,7 @@ void EditorFileSystem::_scan_filesystem() {
 
 
 				} else {
 				} else {
 					Vector<String> split = l.split("::");
 					Vector<String> split = l.split("::");
-					ERR_CONTINUE(split.size() != 9);
+					ERR_CONTINUE(split.size() < 9);
 					String name = split[0];
 					String name = split[0];
 					String file;
 					String file;