Skip to content

Commit

Permalink
Fix AbsorbentTest test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril committed Jan 7, 2025
1 parent f026528 commit a010860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class AbsorbentSystem
/// <summary>
/// Tries to clean a number of footprints in a range determined by the component. Returns the number of cleaned footprints.
/// </summary>
private int TryCleanNearbyFootprints(EntityUid user, EntityUid used, Entity<AbsorbentComponent> target, Entity<SolutionComponent> absorbentSoln)
private int TryCleanNearbyFootprints(EntityUid user, EntityUid target, Entity<AbsorbentComponent> used, Entity<SolutionComponent> absorbentSoln)
{
var footprintQuery = GetEntityQuery<FootPrintComponent>();
var targetCoords = Transform(target).Coordinates;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Fluids/EntitySystems/AbsorbentSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void Mop(EntityUid user, EntityUid target, EntityUid used, AbsorbentCompo
return;
}

TryCleanNearbyFootprints(user, used, (target, component), absorberSoln.Value);
TryCleanNearbyFootprints(user, target, (used, component), absorberSoln.Value);
}

/// <summary>
Expand Down

0 comments on commit a010860

Please sign in to comment.