]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix solution visualization after drawing with a whitelist (#36657)
authorpathetic meowmeow <uhhadd@gmail.com>
Tue, 29 Apr 2025 13:18:07 +0000 (09:18 -0400)
committerGitHub <noreply@github.com>
Tue, 29 Apr 2025 13:18:07 +0000 (09:18 -0400)
Content.Server/Chemistry/EntitySystems/InjectorSystem.cs

index eb2039604afdabfd575a3158947b8a6d53d6de65..cc32d5a24528cb1472f82c8c082807847331da6d 100644 (file)
@@ -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))
         {