Content ecs containers (#22484)
This commit is contained in:
@@ -201,7 +201,7 @@ public sealed partial class BorgSystem
|
||||
continue;
|
||||
}
|
||||
|
||||
component.ProvidedContainer.Remove(item, EntityManager, force: true);
|
||||
_container.Remove(item, component.ProvidedContainer, force: true);
|
||||
}
|
||||
|
||||
if (!item.IsValid())
|
||||
@@ -245,7 +245,7 @@ public sealed partial class BorgSystem
|
||||
if (LifeStage(item) <= EntityLifeStage.MapInitialized)
|
||||
{
|
||||
RemComp<UnremoveableComponent>(item);
|
||||
component.ProvidedContainer.Insert(item, EntityManager);
|
||||
_container.Insert(item, component.ProvidedContainer);
|
||||
}
|
||||
_hands.RemoveHand(chassis, handId, hands);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user