More container pruning (#8576)
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Content.Server.Storage.Components
|
||||
protected override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
Contents = Owner.EnsureContainer<Container>(nameof(EntityStorageComponent));
|
||||
Contents = Owner.EnsureContainer<Container>(EntityStorageSystem.ContainerName);
|
||||
Contents.ShowContents = _showContents;
|
||||
Contents.OccludesLight = _occludesLight;
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ public sealed class EntityStorageSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
|
||||
public const string ContainerName = "entity_storage";
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
Reference in New Issue
Block a user