1
0
mirror of synced 2025-01-19 09:17:30 +01:00

Fix file names for PACx

This commit is contained in:
KillzXGaming 2019-08-15 17:32:24 -04:00
parent 2264c8117b
commit 4233401c4c
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -249,10 +249,12 @@ namespace FirstPlugin
public void LoadTree(PacNode node, string fullPath = "")
{
if (node.HasData && node.Data != null)
bool IsFile = node.HasData && node.Data != null;
if (IsFile)
{
FileEntry newNode = new FileEntry(node);
newNode.FileName = $"{fullPath}/{newNode.Name}";
newNode.FileName = $"{fullPath}.{newNode.Name}";
files.Add(newNode);
}