- [Core] Fix bug with assets parsing.

This commit is contained in:
Razmoth
2023-11-24 21:17:13 +04:00
parent 2568e4be08
commit 4c0f1ec44b
45 changed files with 725 additions and 672 deletions

View File

@@ -6,7 +6,7 @@ namespace AssetStudio
{
public class WebFile
{
public StreamFile[] fileList;
public List<StreamFile> fileList;
private class WebData
{
@@ -43,7 +43,7 @@ namespace AssetStudio
dataList.Add(data);
}
Logger.Verbose("Writing files to streams...");
fileList = new StreamFile[dataList.Count];
fileList = new List<StreamFile>();
for (int i = 0; i < dataList.Count; i++)
{
var data = dataList[i];