From 76465d30ecb99bad4bf0493a1a1dc1178af6796b Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 8 Mar 2022 22:30:12 -0800 Subject: [PATCH] Change fileContent to sectionContent in SmartE --- BurnOutSharp/ProtectionType/SmartE.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BurnOutSharp/ProtectionType/SmartE.cs b/BurnOutSharp/ProtectionType/SmartE.cs index f0f8872b..ac373fbe 100644 --- a/BurnOutSharp/ProtectionType/SmartE.cs +++ b/BurnOutSharp/ProtectionType/SmartE.cs @@ -71,7 +71,7 @@ namespace BurnOutSharp.ProtectionType /// /// Check a section for the SmartE string(s) /// - private string GetMatchForSection(SectionHeader section, string file, byte[] fileContent, bool includeDebug) + private string GetMatchForSection(SectionHeader section, string file, byte[] sectionContent, bool includeDebug) { if (section == null) return null; @@ -86,7 +86,7 @@ namespace BurnOutSharp.ProtectionType "SmartE"), }; - return MatchUtil.GetFirstMatch(file, fileContent, matchers, includeDebug); + return MatchUtil.GetFirstMatch(file, sectionContent, matchers, includeDebug); } ///