Auto comp (#6416)
This commit is contained in:
@@ -13,8 +13,6 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(IStorageComponent))]
|
||||
public class BodyBagEntityStorageComponent : EntityStorageComponent
|
||||
{
|
||||
public override string Name => "BodyBagEntityStorage";
|
||||
|
||||
protected override bool AddToContents(EntityUid entity)
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<SharedBodyComponent>(entity) && !EntitySystem.Get<StandingStateSystem>().IsDown(entity)) return false;
|
||||
|
||||
Reference in New Issue
Block a user