Lower data usage (#4005)

* Lower data usage

* Fix the problems at the root
This commit is contained in:
ShadowCommander
2021-05-16 13:37:58 -07:00
committed by GitHub
parent dc03f1f545
commit 483fbe6ea3
2 changed files with 12 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ namespace Content.Shared.GameObjects.Components.Chemistry
/// <returns>If the solution could be added.</returns>
public bool TryAddSolution(Solution solution)
{
if (!CanAddSolution(solution))
if (!CanAddSolution(solution) || solution.TotalVolume == 0)
return false;
Solution.AddSolution(solution);