From b94cf04971251cc90d58f4853d43895dcea08ab9 Mon Sep 17 00:00:00 2001 From: CWXDEV Date: Thu, 4 Jan 2024 17:18:46 +0000 Subject: [PATCH] fix ValidationUtil, remove unused field --- project/Aki.Core/Utils/ValidationUtil.cs | 2 +- .../Patches/Progression/MidRaidAchievementChangePatch.cs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/project/Aki.Core/Utils/ValidationUtil.cs b/project/Aki.Core/Utils/ValidationUtil.cs index 75fa9e5..ab0b24b 100644 --- a/project/Aki.Core/Utils/ValidationUtil.cs +++ b/project/Aki.Core/Utils/ValidationUtil.cs @@ -21,7 +21,7 @@ namespace Aki.Core.Utils { v3, new FileInfo(Path.Combine(v2, @"BattlEye\BEClient_x64.dll")), - new FileInfo(Path.Combine(v2, @"BattlEye\BEService_x64.dll")), + new FileInfo(Path.Combine(v2, @"BattlEye\BEService_x64.exe")), new FileInfo(Path.Combine(v2, "ConsistencyInfo")), new FileInfo(Path.Combine(v2, "Uninstall.exe")), new FileInfo(Path.Combine(v2, "UnityCrashHandler64.exe")) diff --git a/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs b/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs index d08f280..ccb152c 100644 --- a/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs +++ b/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs @@ -1,14 +1,11 @@ using System.Reflection; using Aki.Reflection.Patching; -using UnityEngine; using AchievementsController = GClass3207; namespace Aki.SinglePlayer.Patches.Progression { public class MidRaidAchievementChangePatch : ModulePatch { - private static AchievementsController achievementController; - protected override MethodBase GetTargetMethod() { return typeof(AchievementsController).GetConstructors()[0];