Fix initialization change
This commit is contained in:
@@ -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>();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user