From: GitHubUser53123 <110841413+GitHubUser53123@users.noreply.github.com> Date: Mon, 13 Oct 2025 01:13:30 +0000 (+0400) Subject: NonSpreaderZombieComponent prevents infection of crit mobs (#40857) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4aab1319adadd2eb28996bd5878670dc4a330f14;p=space-station-14.git NonSpreaderZombieComponent prevents infection of crit mobs (#40857) prevent the most critical bug in the history of station space 14 --- diff --git a/Content.Server/Zombies/ZombieSystem.cs b/Content.Server/Zombies/ZombieSystem.cs index 5107a87c2a..c182d53f44 100644 --- a/Content.Server/Zombies/ZombieSystem.cs +++ b/Content.Server/Zombies/ZombieSystem.cs @@ -264,7 +264,7 @@ namespace Content.Server.Zombies } } - if (_mobState.IsIncapacitated(entity, mobState) && !HasComp(entity) && !HasComp(entity)) + if (_mobState.IsIncapacitated(entity, mobState) && !HasComp(entity) && !HasComp(entity) && !HasComp(args.User)) { ZombifyEntity(entity); args.BonusDamage = -args.BaseDamage;