From baa16c96b4372703ef821e424752ff2aaf4f51eb Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Tue, 15 Feb 2022 14:47:14 +1100 Subject: [PATCH] Fix solutions (#6711) --- .../Chemistry/EntitySystems/SolutionContainerSystem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Server/Chemistry/EntitySystems/SolutionContainerSystem.cs b/Content.Server/Chemistry/EntitySystems/SolutionContainerSystem.cs index 2e6b8114ba..b43cbe39ff 100644 --- a/Content.Server/Chemistry/EntitySystems/SolutionContainerSystem.cs +++ b/Content.Server/Chemistry/EntitySystems/SolutionContainerSystem.cs @@ -221,11 +221,11 @@ namespace Content.Server.Chemistry.EntitySystems public bool TryAddSolution(EntityUid targetUid, Solution? targetSolution, Solution addedSolution) { if (targetSolution == null - || !targetSolution.CanAddSolution(addedSolution) || targetSolution.TotalVolume == 0) + || !targetSolution.CanAddSolution(addedSolution) || addedSolution.TotalVolume == 0) return false; - addedSolution.AddSolution(targetSolution); - UpdateChemicals(targetUid, addedSolution, true); + targetSolution.AddSolution(addedSolution); + UpdateChemicals(targetUid, targetSolution, true); return true; }