Fix vomit puddles (#16449)

This commit is contained in:
metalgearsloth
2023-05-16 13:26:12 +10:00
committed by GitHub
parent 75c9e4056d
commit 35ef9787e5
2 changed files with 29 additions and 19 deletions

View File

@@ -128,10 +128,10 @@ public sealed partial class SolutionContainerSystem : EntitySystem
return splitSol;
}
public Solution SplitStackSolution(EntityUid targetUid, Solution solutionHolder, FixedPoint2 quantity, int stackCount)
public Solution SplitStackSolution(EntityUid targetUid, Solution solutionHolder, FixedPoint2 quantity, int stackCount)
{
var splitSol = solutionHolder.SplitSolution(quantity / stackCount);
Solution attackSolutionHolder = solutionHolder.SplitSolution(quantity - splitSol.Volume);
solutionHolder.SplitSolution(quantity - splitSol.Volume);
UpdateChemicals(targetUid, solutionHolder);
return splitSol;
}