From: pathetic meowmeow Date: Tue, 29 Apr 2025 13:18:07 +0000 (-0400) Subject: Fix solution visualization after drawing with a whitelist (#36657) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=74a8bb9509b8a80f71a6b7e183ac0e7304e2b50a;p=space-station-14.git Fix solution visualization after drawing with a whitelist (#36657) --- 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)) {