Else-If causes some issues

This commit is contained in:
Matt Nadareski
2019-09-28 01:51:06 -07:00
parent c109aceb24
commit ca0d695470
12 changed files with 71 additions and 78 deletions

View File

@@ -248,6 +248,11 @@ namespace BurnOutSharp
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// SafeDisc
protection = SafeDisc.CheckPath(path, files, isDirectory);
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// SafeDisc Lite
protection = SafeDiscLite.CheckPath(path, files, isDirectory);
if (!string.IsNullOrWhiteSpace(protection))