Only return file paths when returning zip contents

This commit is contained in:
Dean Simmons
2023-01-22 11:48:12 +00:00
committed by Pavel Penev
parent c1da198f5d
commit e1b78c4821

View File

@@ -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;
} }
} }