Content ecs containers (#22484)
This commit is contained in:
@@ -17,7 +17,7 @@ public abstract class SharedDevourSystem : EntitySystem
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly SharedActionsSystem _actionsSystem = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _containerSystem = default!;
|
||||
[Dependency] protected readonly SharedContainerSystem ContainerSystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -31,7 +31,7 @@ public abstract class SharedDevourSystem : EntitySystem
|
||||
{
|
||||
//Devourer doesn't actually chew, since he sends targets right into his stomach.
|
||||
//I did it mom, I added ERP content into upstream. Legally!
|
||||
component.Stomach = _containerSystem.EnsureContainer<Container>(uid, "stomach");
|
||||
component.Stomach = ContainerSystem.EnsureContainer<Container>(uid, "stomach");
|
||||
|
||||
_actionsSystem.AddAction(uid, ref component.DevourActionEntity, component.DevourAction);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user