mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 22:30:44 -05:00
Add edge case for zryachiy on lighthouse
This commit is contained in:
parent
fab764172a
commit
5cd5caa557
@ -50,6 +50,13 @@ namespace Aki.Custom.Patches
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Weird edge case - without this you get spammed with key already in enemy list error when you move around on lighthouse
|
||||||
|
// Make zryachiy use existing isEnemy() code
|
||||||
|
if (__instance.InitialBotType == WildSpawnType.bossZryachiy)
|
||||||
|
{
|
||||||
|
return false; // do original method
|
||||||
|
}
|
||||||
|
|
||||||
if (__instance.Side == EPlayerSide.Usec)
|
if (__instance.Side == EPlayerSide.Usec)
|
||||||
{
|
{
|
||||||
if (requester.Side == EPlayerSide.Bear || requester.Side == EPlayerSide.Savage ||
|
if (requester.Side == EPlayerSide.Bear || requester.Side == EPlayerSide.Savage ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user