Fix ChemMaster bottles not having contents (#5026)
This commit is contained in:
@@ -304,7 +304,7 @@ namespace Content.Server.Chemistry.Components
|
||||
var bottle = Owner.EntityManager.SpawnEntity("ChemistryEmptyBottle01", Owner.Transform.Coordinates);
|
||||
|
||||
var bufferSolution = BufferSolution.SplitSolution(actualVolume);
|
||||
var bottleSolution = EntitySystem.Get<SolutionContainerSystem>().EnsureSolution(bottle, "bottle");
|
||||
var bottleSolution = EntitySystem.Get<SolutionContainerSystem>().EnsureSolution(bottle, "drink");
|
||||
|
||||
EntitySystem.Get<SolutionContainerSystem>().TryAddSolution(bottle.Uid, bottleSolution, bufferSolution);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
isOpen: true
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
drink:
|
||||
drink: # This solution name and target volume is hard-coded in ChemMasterComponent
|
||||
maxVol: 30
|
||||
- type: RefillableSolution
|
||||
solution: drink
|
||||
|
||||
Reference in New Issue
Block a user