Updated ContainerHelpers to use new extensions (#2530)
Co-authored-by: David Tan <>
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Content.Server.Atmos
|
||||
{
|
||||
if (!entity.TryGetComponent(out IPhysicsComponent physics)
|
||||
|| !entity.TryGetComponent(out MovedByPressureComponent pressure)
|
||||
|| ContainerHelpers.IsInContainer(entity))
|
||||
|| entity.IsInContainer())
|
||||
continue;
|
||||
|
||||
physics.WakeBody();
|
||||
|
||||
Reference in New Issue
Block a user