Fix chem payloads not updating beaker appearance (#10968)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user