Fixes Pills not transfering any reagents (#2016)

This commit is contained in:
Exp
2020-09-04 11:29:15 +02:00
committed by GitHub
parent 0eea810d2f
commit 313730e1b8

View File

@@ -1,7 +1,6 @@
using Content.Server.GameObjects.Components.Body.Digestive; using Content.Server.GameObjects.Components.Body.Digestive;
using Content.Server.GameObjects.Components.Nutrition; using Content.Server.GameObjects.Components.Nutrition;
using Content.Server.GameObjects.Components.Utensil; using Content.Server.GameObjects.Components.Utensil;
using Content.Server.Utility;
using Content.Shared.Chemistry; using Content.Shared.Chemistry;
using Content.Shared.Interfaces; using Content.Shared.Interfaces;
using Content.Shared.Interfaces.GameObjects.Components; using Content.Shared.Interfaces.GameObjects.Components;
@@ -47,8 +46,6 @@ namespace Content.Server.GameObjects.Components.Chemistry
{ {
base.Initialize(); base.Initialize();
_contents = Owner.GetComponent<SolutionComponent>(); _contents = Owner.GetComponent<SolutionComponent>();
_transferAmount = _contents.CurrentVolume;
} }
bool IUse.UseEntity(UseEntityEventArgs eventArgs) bool IUse.UseEntity(UseEntityEventArgs eventArgs)