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

@@ -316,7 +316,7 @@ namespace OpenRA
public Map(string path)
{
Path = path;
Container = Game.ModData.ModFiles.OpenWritablePackage(path, int.MaxValue);
Container = Game.ModData.ModFiles.OpenWritablePackage(path);
AssertExists("map.yaml");
AssertExists("map.bin");
@@ -649,7 +649,7 @@ namespace OpenRA
Path = toPath;
// Create a new map package
Container = Game.ModData.ModFiles.CreatePackage(Path, int.MaxValue, entries);
Container = Game.ModData.ModFiles.CreatePackage(Path, entries);
}
// Update existing package