mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:30:46 -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]
|
[PatchPrefix]
|
||||||
private static bool PatchPrefix(ref bool __result, BotsGroup __instance, IPlayer requester)
|
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
|
var isEnemy = false; // default not an enemy
|
||||||
if (requester == null)
|
if (requester == null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user