Give folders higher priority than packages in FileSystem. Also fixes bug where folder contents were not being cached with the correct hash.

This commit is contained in:
Matthew Bowra-Dean
2010-10-19 02:59:39 +13:00
committed by Chris Forbes
parent f6df7a06f2
commit 2bcf33661a
4 changed files with 36 additions and 9 deletions

View File

@@ -41,5 +41,11 @@ namespace OpenRA.FileFormats
{
return hashes.Contains(PackageEntry.HashFilename(filename));
}
public int Priority
{
get { return 1; }
}
}
}