diff --git a/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs b/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs index 15bb8f02f3e..b084b694589 100644 --- a/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs +++ b/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Microsoft.Extensions.ObjectPool; using Robust.Shared.GameObjects; -using Robust.Shared.Maths; using Robust.Shared.Physics.Components; using Robust.Shared.Physics.Dynamics; using Robust.Shared.Physics.Dynamics.Contacts; @@ -960,6 +959,8 @@ private void SolveIsland( } // Cleanup + ArrayPool.Shared.Return(positions); + ArrayPool.Shared.Return(angles); ArrayPool.Shared.Return(velocityConstraints); ArrayPool.Shared.Return(positionConstraints); } @@ -985,7 +986,7 @@ private void FinalisePositions(int start, int end, int offset, List