Zombies drop their headsets. (#14525)

This commit is contained in:
Whisper 2023-03-23 12:17:32 -04:00 committed by GitHub
parent deefe7daed
commit 8ebf650fe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View 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);