Fix initialization change

This commit is contained in:
PrPleGoo
2020-04-08 19:43:16 +02:00
parent a484b6fd52
commit 9194694085
2 changed files with 2 additions and 3 deletions

View File

@@ -36,9 +36,8 @@ namespace Content.Server.GameObjects.Components.Chemistry
Init(); Init();
} }
public override void Init() public void Init()
{ {
base.Init();
_reactions = _prototypeManager.EnumeratePrototypes<ReactionPrototype>(); _reactions = _prototypeManager.EnumeratePrototypes<ReactionPrototype>();
_audioSystem = _entitySystemManager.GetEntitySystem<AudioSystem>(); _audioSystem = _entitySystemManager.GetEntitySystem<AudioSystem>();
} }

View File

@@ -17,7 +17,7 @@ namespace Content.Shared.GameObjects.Components.Chemistry
#pragma warning restore 649 #pragma warning restore 649
[ViewVariables] [ViewVariables]
protected Solution ContainedSolution; protected Solution ContainedSolution = new Solution();
private ReagentUnit _maxVolume; private ReagentUnit _maxVolume;
private SolutionCaps _capabilities; private SolutionCaps _capabilities;