Skip to content

Commit

Permalink
Merge remote-tracking branch 'EE-Personal/Atmos-optimization-test' in…
Browse files Browse the repository at this point in the history
…to Upstream-Merge-7/5/2024
  • Loading branch information
VMSolidus committed Jul 6, 2024
2 parents 98ddaa3 + c5946ee commit ca3f3ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ public void ExperiencePressureDifference(
if (throwTarget != EntityCoordinates.Invalid)
{
var pos = throwTarget.ToMap(EntityManager, _transformSystem).Position - xform.WorldPosition + dirVec;
_throwing.TryThrow(uid, pos.Normalized() * moveForce, moveForce);
_throwing.TryThrow(uid, pos.Normalized() * MathF.Min(moveForce, SpaceWindMaxVelocity), moveForce);
}
else
{
_throwing.TryThrow(uid, dirVec.Normalized() * moveForce, moveForce);
_throwing.TryThrow(uid, dirVec.Normalized() * MathF.Min(moveForce, SpaceWindMaxVelocity), moveForce);
}

component.LastHighPressureMovementAirCycle = cycle;
Expand Down

0 comments on commit ca3f3ca

Please sign in to comment.