Skip to content

Commit

Permalink
meow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyndomen committed Nov 15, 2024
1 parent 1385bbc commit acb0b63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ public void ExitDisposals(EntityUid uid, DisposalHolderComponent? holder = null,
{
_xformSystem.AttachToGridOrMap(entity, xform);

if (holder.PreviousDirection != Direction.Invalid && gridUid != null && _xformQuery.TryGetComponent(gridUid, out var parentXform)) // DeltaV begin EE Disposal fix
if (holder.PreviousDirection != Direction.Invalid && _xformQuery.TryGetComponent(uid, out var parentXform)) // start DeltaV EE Disposal fix
{
var direction = holder.CurrentDirection.ToAngle(); // DeltaV end EE Disposal fix
var direction = holder.CurrentDirection.ToAngle(); // end DeltaV EE Disposal fix
direction += _xformSystem.GetWorldRotation(parentXform);
_throwing.TryThrow(entity, direction.ToWorldVec() * 3f, 10f);
}
Expand Down

0 comments on commit acb0b63

Please sign in to comment.