Files
RobustToolbox/Robust.Server/Containers/ContainerSystem.cs
ShadowCommander e16e0f4bd0 Fix containers with entities that do not exist yet (#1892)
* Fix containers that hold entities not on client

* Delete from ExpectedEntities when entity removed

* Fix ContainerSystem not registering on the server

* Move container state to entity system
Move client code to client

* Fix removal and clean up code

* Add test

* Add more checks to test

* Remove unneeded deletion event handler

When the child is deleted, if the entity does not exist on the client,
then HandleComponentState runs. If the entity does exist, then
HandleEntityInitialized would have run. Either way HandleEntityDeleted
is not needed.

* Renamed unexpected to removedExpected
2021-08-04 19:00:14 -07:00

11 lines
366 B
C#

using Robust.Shared.Containers;
namespace Robust.Server.Containers
{
public class ContainerSystem : SharedContainerSystem
{
// Seems like shared EntitySystems aren't registered, so this is here to register it on the server.
// Registering the SharedContainerSystem causes conflicts on client where two entity systems are registered.
}
}