Solution visualizer fixes (#3883)

This commit is contained in:
Alex Evgrashin
2021-04-23 10:42:48 +04:00
committed by GitHub
parent 9212d5b1df
commit 182663cd0b
2 changed files with 13 additions and 1 deletions

View File

@@ -70,6 +70,12 @@ namespace Content.Shared.GameObjects.Components.Chemistry
public bool CanRefill => Capabilities.HasCap(SolutionContainerCaps.Refillable);
public bool CanDrain => Capabilities.HasCap(SolutionContainerCaps.Drainable);
public override void Initialize()
{
base.Initialize();
UpdateAppearance();
}
public void RemoveAllSolution()
{
if (CurrentVolume == 0)