PlaceableSurfaceSystem uses resolves.

This commit is contained in:
Vera Aguilera Puerto
2021-10-06 11:40:05 +02:00
parent 6f50dd2f7b
commit d16c299af1
2 changed files with 14 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ namespace Content.Server.Storage.Components
if (Owner.TryGetComponent<PlaceableSurfaceComponent>(out var surface))
{
EntitySystem.Get<PlaceableSurfaceSystem>().SetPlaceable(surface, Open);
EntitySystem.Get<PlaceableSurfaceSystem>().SetPlaceable(Owner.Uid, Open, surface);
}
UpdateAppearance();
@@ -264,7 +264,7 @@ namespace Content.Server.Storage.Components
if (Owner.TryGetComponent<PlaceableSurfaceComponent>(out var surface))
{
EntitySystem.Get<PlaceableSurfaceSystem>().SetPlaceable(surface, Open);
EntitySystem.Get<PlaceableSurfaceSystem>().SetPlaceable(Owner.Uid, Open, surface);
}
if (Owner.TryGetComponent(out AppearanceComponent? appearance))