Update ZombifyOnDeathSystem.cs (#9919)
This commit is contained in:
@@ -27,6 +27,7 @@ using Robust.Shared.Prototypes;
|
|||||||
using Content.Shared.Roles;
|
using Content.Shared.Roles;
|
||||||
using Content.Server.Traitor;
|
using Content.Server.Traitor;
|
||||||
using Content.Shared.Zombies;
|
using Content.Shared.Zombies;
|
||||||
|
using Content.Shared.Popups;
|
||||||
using Content.Server.Atmos.Miasma;
|
using Content.Server.Atmos.Miasma;
|
||||||
using Content.Server.IdentityManagement;
|
using Content.Server.IdentityManagement;
|
||||||
|
|
||||||
@@ -142,7 +143,7 @@ namespace Content.Server.Zombies
|
|||||||
_serverInventory.TryUnequip(target, "gloves", true, true);
|
_serverInventory.TryUnequip(target, "gloves", true, true);
|
||||||
|
|
||||||
//popup
|
//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
|
//Make it sentient if it's an animal or something
|
||||||
if (!HasComp<InputMoverComponent>(target)) //this component is cursed and fucks shit up
|
if (!HasComp<InputMoverComponent>(target)) //this component is cursed and fucks shit up
|
||||||
|
|||||||
Reference in New Issue
Block a user