Update ZombifyOnDeathSystem.cs (#9919)

This commit is contained in:
Nemanja
2022-07-21 00:32:04 -04:00
committed by GitHub
parent e82e171ce6
commit e156268da3

View File

@@ -27,6 +27,7 @@ using Robust.Shared.Prototypes;
using Content.Shared.Roles;
using Content.Server.Traitor;
using Content.Shared.Zombies;
using Content.Shared.Popups;
using Content.Server.Atmos.Miasma;
using Content.Server.IdentityManagement;
@@ -142,7 +143,7 @@ namespace Content.Server.Zombies
_serverInventory.TryUnequip(target, "gloves", true, true);
//popup
_popupSystem.PopupEntity(Loc.GetString("zombie-transform", ("target", target)), target, Filter.Pvs(target));
_popupSystem.PopupEntity(Loc.GetString("zombie-transform", ("target", target)), target, Filter.Pvs(target), PopupType.LargeCaution);
//Make it sentient if it's an animal or something
if (!HasComp<InputMoverComponent>(target)) //this component is cursed and fucks shit up