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:
@@ -31,13 +31,11 @@ namespace OpenRA.FileSystem
|
||||
readonly Stream s;
|
||||
|
||||
readonly string filename;
|
||||
readonly int priority;
|
||||
readonly Dictionary<string, Entry> index = new Dictionary<string, Entry>();
|
||||
|
||||
public D2kSoundResources(FileSystem context, string filename, int priority)
|
||||
public D2kSoundResources(FileSystem context, string filename)
|
||||
{
|
||||
this.filename = filename;
|
||||
this.priority = priority;
|
||||
|
||||
s = context.Open(filename);
|
||||
try
|
||||
@@ -80,8 +78,6 @@ namespace OpenRA.FileSystem
|
||||
|
||||
public string Name { get { return filename; } }
|
||||
|
||||
public int Priority { get { return 1000 + priority; } }
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
s.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user