diff --git a/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs b/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs index 7bce5497ca5..2a0c5685edc 100644 --- a/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs +++ b/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs @@ -197,7 +197,7 @@ internal record struct IslandData( private const int PositionConstraintsPerThread = 16; [ByRefEvent] - public struct GetLinearDampingOverrideEvent(Entity Entity) + public struct GetLinearDampingOverrideEvent(Entity Entity) { public float? LinearDampingOverride; } @@ -759,7 +759,7 @@ private void SolveIsland( angularVelocity += body.InvI * body.Torque * data.FrameTime; - var ev = new GetLinearDampingOverrideEvent((body.Owner, body)); + var ev = new GetLinearDampingOverrideEvent((body.Owner, body, xform)); OnGetLinearDampingOverride?.Invoke(ref ev); var linearDamping = ev.LinearDampingOverride ?? body.LinearDamping;