From c29b23eb6489401e0465b830945cccac246e3d6d Mon Sep 17 00:00:00 2001 From: 20kdc Date: Mon, 25 Oct 2021 15:58:16 +0100 Subject: [PATCH] Fix ChemMaster bottles not having contents (#5026) --- Content.Server/Chemistry/Components/ChemMasterComponent.cs | 2 +- .../Prototypes/Entities/Objects/Specific/chemistry-bottles.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Chemistry/Components/ChemMasterComponent.cs b/Content.Server/Chemistry/Components/ChemMasterComponent.cs index d3b6040f6f..fa1401e7a5 100644 --- a/Content.Server/Chemistry/Components/ChemMasterComponent.cs +++ b/Content.Server/Chemistry/Components/ChemMasterComponent.cs @@ -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().EnsureSolution(bottle, "bottle"); + var bottleSolution = EntitySystem.Get().EnsureSolution(bottle, "drink"); EntitySystem.Get().TryAddSolution(bottle.Uid, bottleSolution, bufferSolution); diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml index 5090f8297c..f979bd54bb 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml @@ -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