Only return file paths when returning zip contents
This commit is contained in:
committed by
Pavel Penev
parent
c1da198f5d
commit
e1b78c4821
@@ -55,7 +55,8 @@ namespace OpenRA.FileSystem
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
foreach (ZipEntry entry in pkg)
|
foreach (ZipEntry entry in pkg)
|
||||||
yield return entry.Name;
|
if (entry.IsFile)
|
||||||
|
yield return entry.Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user