diff --git a/project/Aki.Custom/Patches/PmcFirstAidPatch.cs b/project/Aki.Custom/Patches/PmcFirstAidPatch.cs index 8399e12..11d9715 100644 --- a/project/Aki.Custom/Patches/PmcFirstAidPatch.cs +++ b/project/Aki.Custom/Patches/PmcFirstAidPatch.cs @@ -1,4 +1,5 @@ -using Aki.Reflection.Patching; +using Aki.PrePatch; +using Aki.Reflection.Patching; using Aki.Reflection.Utils; using EFT; using System; @@ -42,7 +43,7 @@ namespace Aki.Custom.Patches [PatchPrefix] private static bool PatchPrefix(BotOwner ___botOwner_0) { - if (___botOwner_0.IsRole((WildSpawnType)33) || ___botOwner_0.IsRole((WildSpawnType)34)) + if (___botOwner_0.IsRole((WildSpawnType)AkiBotsPrePatcher.sptUsecValue) || ___botOwner_0.IsRole((WildSpawnType)AkiBotsPrePatcher.sptBearValue)) { var healthController = ___botOwner_0.GetPlayer.ActiveHealthController;