From b74a370b1107e82197e5f5f439e1210e2a1b76f9 Mon Sep 17 00:00:00 2001 From: SilasLaspada Date: Mon, 16 Aug 2021 22:58:36 -0600 Subject: [PATCH] Fix WTM false positive (#55) --- BurnOutSharp/ProtectionType/WTMCDProtect.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BurnOutSharp/ProtectionType/WTMCDProtect.cs b/BurnOutSharp/ProtectionType/WTMCDProtect.cs index 475a8059..1d401946 100644 --- a/BurnOutSharp/ProtectionType/WTMCDProtect.cs +++ b/BurnOutSharp/ProtectionType/WTMCDProtect.cs @@ -43,8 +43,11 @@ namespace BurnOutSharp.ProtectionType { var matchers = new List { - new PathMatchSet(new PathMatch("wtmfiles.dat", useEndsWith: true), "WTM Protection Viewer"), - new PathMatchSet(new PathMatch("Viewer.exe", useEndsWith: true), "WTM Protection Viewer"), + new PathMatchSet(new List + { + new PathMatch("wtmfiles.dat", useEndsWith: true), + new PathMatch("Viewer.exe", useEndsWith: true), + }, "WTM Protection Viewer"), }; return MatchUtil.GetAllMatches(files, matchers, any: false);