mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 22:30:44 -05:00
Fix halloween zryachiy not being peaceful
This commit is contained in:
parent
15baf988f2
commit
1234c611c8
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user