Add resource finding on creation

This commit is contained in:
Matt Nadareski
2022-04-02 16:12:23 -07:00
parent 61c09e3c97
commit b933249ff7
24 changed files with 199 additions and 173 deletions

View File

@@ -54,7 +54,7 @@ namespace BurnOutSharp.ProtectionType
if (sections == null)
return null;
string name = pex.GetFileDescription();
string name = pex.FileDescription;
if (!string.IsNullOrWhiteSpace(name) && name.Equals("SafeCast2", StringComparison.OrdinalIgnoreCase))
return $"SafeCast";