mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* 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
11 lines
366 B
C#
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.
|
|
}
|
|
}
|