mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Only return unique patchable files
To prevent doublepatching/etc, which will cause the return string to say 'did not patch' since it already was.
This commit is contained in:
@@ -125,7 +125,7 @@ private string[] getGARCs()
|
||||
|
||||
string[] garcs = new string[sc.Count];
|
||||
sc.CopyTo(garcs, 0);
|
||||
return garcs;
|
||||
return garcs.Distinct().ToArray();
|
||||
}
|
||||
private string[] getPaths(string[] sc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user