Implement updates to containers for ContainerSlot.
This commit is contained in:
@@ -38,12 +38,14 @@ namespace Content.Server.GameObjects
|
|||||||
protected override void InternalInsert(IEntity toinsert)
|
protected override void InternalInsert(IEntity toinsert)
|
||||||
{
|
{
|
||||||
ContainedEntity = toinsert;
|
ContainedEntity = toinsert;
|
||||||
|
base.InternalInsert(toinsert);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void InternalRemove(IEntity toremove)
|
protected override void InternalRemove(IEntity toremove)
|
||||||
{
|
{
|
||||||
ContainedEntity = null;
|
ContainedEntity = null;
|
||||||
|
base.InternalRemove(toremove);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Shutdown()
|
public override void Shutdown()
|
||||||
|
|||||||
Reference in New Issue
Block a user