0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 02:10:45 -05:00

Fix halloween zryachiy not being peaceful

This commit is contained in:
Dev 2023-11-02 15:10:44 +00:00
parent 15baf988f2
commit 1234c611c8

View File

@ -41,6 +41,11 @@ namespace Aki.Custom.Patches
[PatchPrefix]
private static bool PatchPrefix(ref bool __result, BotsGroup __instance, IPlayer requester)
{
if (__instance.InitialBotType == WildSpawnType.peacefullZryachiyEvent)
{
return true; // Do original code
}
var isEnemy = false; // default not an enemy
if (requester == null)
{