fix: append -> concat

This commit is contained in:
scientificworld
2026-01-03 12:07:51 +08:00
parent 51ed011911
commit 8a80875b68

View File

@@ -72,7 +72,7 @@ namespace GameRes.Formats.Enigma {
index_offset++;
counts[counts.Count - 1]--;
if (type == NodeTypes.File) {
var entry = Create<Entry>(Path.Combine(names.Append(name).ToArray()));
var entry = Create<Entry>(Path.Combine(names.Concat(new[] { name }).ToArray()));
uint unpacked_size = file.View.ReadUInt32(index_offset + 2);
uint size = file.View.ReadUInt32(index_offset + 49);
if (unpacked_size != size)