From 3bf9032197b51b845554a8475198ad22704a3724 Mon Sep 17 00:00:00 2001 From: Paulov Date: Fri, 10 May 2024 23:49:36 +0100 Subject: [PATCH] change role numbers to 47 and 48 as used by aki 3.8.* --- .../Singleplayer/Patches/ScavMode/IsHostileToEverybodyPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/AkiSupport/Singleplayer/Patches/ScavMode/IsHostileToEverybodyPatch.cs b/Source/AkiSupport/Singleplayer/Patches/ScavMode/IsHostileToEverybodyPatch.cs index 974486244..d409c19aa 100644 --- a/Source/AkiSupport/Singleplayer/Patches/ScavMode/IsHostileToEverybodyPatch.cs +++ b/Source/AkiSupport/Singleplayer/Patches/ScavMode/IsHostileToEverybodyPatch.cs @@ -16,7 +16,7 @@ protected override MethodBase GetTargetMethod() [PatchPrefix] private static bool PatchPrefix(WildSpawnType role, ref bool __result) { - if ((int)role == 49 || (int)role == 50) + if ((int)role == 47 || (int)role == 48) { __result = true; return false;