Changes required for serialization fix. (#7177)

This commit is contained in:
Leon Friedrich
2022-03-25 23:56:05 +13:00
committed by GitHub
parent 67c42ecacd
commit ec824896ee
5 changed files with 7 additions and 7 deletions

View File

@@ -164,7 +164,7 @@ namespace Content.Server.Storage.Components
Contents.OccludesLight = _occludesLight;
if(_entMan.TryGetComponent(Owner, out ConstructionComponent? construction))
EntitySystem.Get<ConstructionSystem>().AddContainer(Owner, Contents.ID, construction);
EntitySystem.Get<ConstructionSystem>().AddContainer(Owner, nameof(EntityStorageComponent), construction);
if (_entMan.TryGetComponent<PlaceableSurfaceComponent?>(Owner, out var surface))
{