From 74a8bb9509b8a80f71a6b7e183ac0e7304e2b50a Mon Sep 17 00:00:00 2001 From: pathetic meowmeow Date: Tue, 29 Apr 2025 09:18:07 -0400 Subject: [PATCH] Fix solution visualization after drawing with a whitelist (#36657) --- Content.Server/Chemistry/EntitySystems/InjectorSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Chemistry/EntitySystems/InjectorSystem.cs b/Content.Server/Chemistry/EntitySystems/InjectorSystem.cs index eb2039604a..cc32d5a245 100644 --- a/Content.Server/Chemistry/EntitySystems/InjectorSystem.cs +++ b/Content.Server/Chemistry/EntitySystems/InjectorSystem.cs @@ -369,7 +369,7 @@ public sealed class InjectorSystem : SharedInjectorSystem var removedSolution = SolutionContainers.Draw(target.Owner, targetSolution, realTransferAmount); // Add back non-whitelisted reagents to the target solution - applicableTargetSolution.AddSolution(temporarilyRemovedSolution, null); + SolutionContainers.TryAddSolution(targetSolution, temporarilyRemovedSolution); if (!SolutionContainers.TryAddSolution(soln.Value, removedSolution)) { -- 2.51.2