Fix chem payloads not updating beaker appearance (#10968)

This commit is contained in:
0x6273
2022-09-02 02:38:48 +02:00
committed by GitHub
parent 543647f599
commit 24b8d9468e

View File

@@ -162,7 +162,7 @@ public sealed class PayloadSystem : EntitySystem
solutionA.MaxVolume += solutionB.MaxVolume; solutionA.MaxVolume += solutionB.MaxVolume;
_solutionSystem.TryAddSolution(beakerA, solutionA, solutionB); _solutionSystem.TryAddSolution(beakerA, solutionA, solutionB);
solutionB.RemoveAllSolution(); _solutionSystem.RemoveAllSolution(beakerB, solutionB);
// The grenade might be a dud. Redistribute solution: // The grenade might be a dud. Redistribute solution:
var tmpSol = _solutionSystem.SplitSolution(beakerA, solutionA, solutionA.CurrentVolume * solutionB.MaxVolume / solutionA.MaxVolume); var tmpSol = _solutionSystem.SplitSolution(beakerA, solutionA, solutionA.CurrentVolume * solutionB.MaxVolume / solutionA.MaxVolume);