mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Fix the advdupe1 folder unnecessarily showing (#341)
This commit is contained in:
parent
d08a7c94eb
commit
756f7d6d5e
@ -1126,7 +1126,7 @@ local function UpdateClientFiles()
|
||||
PurgeFiles("adv_duplicator/", pnlCanvas:AddFolder("-Advanced Duplicator 1-"))
|
||||
|
||||
if (pnlCanvas.Folders[2]) then
|
||||
if (#pnlCanvas.Folders[2].Folders == 0 and #pnlCanvas[2].Files == 0) then
|
||||
if (#pnlCanvas.Folders[2].Folders == 0 and #pnlCanvas.Folders[2].Files == 0) then
|
||||
pnlCanvas:RemoveNode(pnlCanvas.Folders[2])
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user