]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Zombies drop their headsets. (#14525)
authorWhisper <121047731+QuietlyWhisper@users.noreply.github.com>
Thu, 23 Mar 2023 16:17:32 +0000 (12:17 -0400)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 16:17:32 +0000 (12:17 -0400)
Content.Server/Zombies/ZombifyOnDeathSystem.cs

index 7cf12b1328475b59e7d6ab89079c40455b266abc..1994b98a7a96debaefcdfda9dcbc3edcf3c32a7b 100644 (file)
@@ -170,6 +170,8 @@ namespace Content.Server.Zombies
 
             //This is specifically here to combat insuls, because frying zombies on grilles is funny as shit.
             _serverInventory.TryUnequip(target, "gloves", true, true);
+            //Should prevent instances of zombies using comms for information they shouldnt be able to have.
+            _serverInventory.TryUnequip(target, "ears", true, true);
 
             //popup
             _popupSystem.PopupEntity(Loc.GetString("zombie-transform", ("target", target)), target, PopupType.LargeCaution);