From 5fde2b5c3295d36d0f0de14a8fb70df6e2583406 Mon Sep 17 00:00:00 2001 From: Sapphire <53796461+Sapphire588@users.noreply.github.com> Date: Thu, 30 Oct 2025 02:21:33 +0700 Subject: [PATCH] Fix zombies unable to attack the player --- Patches/FixPatches.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Patches/FixPatches.cs b/Patches/FixPatches.cs index 6c5a0524..d0b8a57f 100644 --- a/Patches/FixPatches.cs +++ b/Patches/FixPatches.cs @@ -20,6 +20,11 @@ protected override MethodBase GetTargetMethod() [PatchPrefix] public static bool Patch(BotMeleeWeaponData __instance) { + if (__instance.botOwner_0.AIData.UseZombieSimpleAnimator) + { + return true; + } + if (SAINEnableClass.GetSAIN(__instance.botOwner_0.ProfileId, out BotComponent bot) && bot.SAINLayersActive) { Enemy enemy = bot.GoalEnemy;