Fix solution visualization after drawing with a whitelist (#36657)
This commit is contained in:
committed by
GitHub
parent
5ef74728c9
commit
74a8bb9509
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user