Remove IReadOnlyPackage.Priority.

Priority is now determined solely by order in mod.yaml
(later packages take priority of earlier ones).
This commit is contained in:
Paul Chote
2016-01-20 22:23:31 +00:00
parent cbfd9bb921
commit feab81bdea
13 changed files with 38 additions and 72 deletions

View File

@@ -175,8 +175,8 @@ namespace OpenRA
InitializeLoaders();
ModFiles.LoadFromManifest(Manifest);
// Mount map package so custom assets can be used. TODO: check priority.
ModFiles.Mount(ModFiles.OpenPackage(map.Path, int.MaxValue));
// Mount map package so custom assets can be used.
ModFiles.Mount(ModFiles.OpenPackage(map.Path));
using (new Support.PerfTimer("Map.PreloadRules"))
map.PreloadRules();