Fix file names for PACx
This commit is contained in:
parent
2264c8117b
commit
4233401c4c
Binary file not shown.
@ -249,10 +249,12 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public void LoadTree(PacNode node, string fullPath = "")
|
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);
|
FileEntry newNode = new FileEntry(node);
|
||||||
newNode.FileName = $"{fullPath}/{newNode.Name}";
|
newNode.FileName = $"{fullPath}.{newNode.Name}";
|
||||||
files.Add(newNode);
|
files.Add(newNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user