[DatFile] Modify "Contains" a little

This commit is contained in:
Matt Nadareski
2017-09-25 12:56:45 -07:00
parent 7797b668ee
commit 817a6cc180
3 changed files with 61 additions and 15 deletions

View File

@@ -264,7 +264,7 @@ namespace SabreTools.Library.Dats
string key = SortAndGetKey(datdata, sorted);
// If the key doesn't exist, return the empty list
if (!datdata.ContainsKey(key))
if (!datdata.Contains(key))
{
return false;
}
@@ -303,7 +303,7 @@ namespace SabreTools.Library.Dats
string key = SortAndGetKey(datdata);
// If the key doesn't exist, return the empty list
if (!datdata.ContainsKey(key))
if (!datdata.Contains(key))
{
return output;
}