Fix ambuzol zombie damage (#21432)

This commit is contained in:
themias
2023-11-04 13:57:21 -04:00
committed by GitHub
parent 84bc7ee2bb
commit 843a7d1d46

View File

@@ -226,7 +226,7 @@ namespace Content.Server.Zombies
}
}
if (_mobState.IsIncapacitated(entity, mobState) && !HasComp<ZombieComponent>(entity))
if (_mobState.IsIncapacitated(entity, mobState) && !HasComp<ZombieComponent>(entity) && !HasComp<ZombieImmuneComponent>(entity))
{
ZombifyEntity(entity);
args.BonusDamage = -args.BaseDamage;