From 8c5aaafee3e4d3ee6531c8036426f4c0cb84dc9a Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Mon, 6 Sep 2021 02:22:23 +1000 Subject: [PATCH] Stop atmos spamming physics bodies awake ApplyLinearImpulse already wakes it up so there's no point for this besides slammin physics. --- Content.Server/Atmos/Components/MovedByPressureComponent.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Content.Server/Atmos/Components/MovedByPressureComponent.cs b/Content.Server/Atmos/Components/MovedByPressureComponent.cs index 75a72d4b55..f0521cc34b 100644 --- a/Content.Server/Atmos/Components/MovedByPressureComponent.cs +++ b/Content.Server/Atmos/Components/MovedByPressureComponent.cs @@ -45,7 +45,6 @@ namespace Content.Server.Atmos.Components if (!Owner.TryGetComponent(out PhysicsComponent? physics)) return; - physics.WakeBody(); // TODO ATMOS stuns? var transform = physics.Owner.Transform; @@ -62,7 +61,6 @@ namespace Content.Server.Atmos.Components && (maxForce >= (MoveResist * MoveForcePushRatio))) || (physics.BodyType == BodyType.Static && (maxForce >= (MoveResist * MoveForceForcePushRatio)))) { - if (physics.Owner.HasComponent()) { physics.BodyStatus = BodyStatus.InAir;