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

adjusted wildspawntype.gifter to not be hostile by default

This commit is contained in:
Kaeno 2024-01-18 12:22:06 +00:00
parent 10164c3b1c
commit a5c2e1a0a4

View File

@ -22,7 +22,7 @@ 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 || __instance.InitialBotType == WildSpawnType.shooterBTR) if (__instance.InitialBotType == WildSpawnType.peacefullZryachiyEvent || __instance.InitialBotType == WildSpawnType.shooterBTR || __instance.InitialBotType == WildSpawnType.gifter)
{ {
return true; // Do original code return true; // Do original code
} }