Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -137,7 +137,7 @@ namespace Content.Server.Kitchen.EntitySystems
|
||||
|
||||
private void OnActiveMicrowaveRemove(Entity<ActiveMicrowaveComponent> ent, ref EntRemovedFromContainerMessage args)
|
||||
{
|
||||
EntityManager.RemoveComponentDeferred<ActivelyMicrowavedComponent>(args.Entity);
|
||||
RemCompDeferred<ActivelyMicrowavedComponent>(args.Entity);
|
||||
}
|
||||
|
||||
// Stop items from transforming through constructiongraphs while being microwaved.
|
||||
@@ -749,7 +749,7 @@ namespace Content.Server.Kitchen.EntitySystems
|
||||
if (!HasContents(ent.Comp) || HasComp<ActiveMicrowaveComponent>(ent))
|
||||
return;
|
||||
|
||||
_container.Remove(EntityManager.GetEntity(args.EntityID), ent.Comp.Storage);
|
||||
_container.Remove(GetEntity(args.EntityID), ent.Comp.Storage);
|
||||
UpdateUserInterfaceState(ent, ent.Comp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user