From 09df0dfb607cdd8557ba8b7ca306e77a09f394b3 Mon Sep 17 00:00:00 2001 From: Illiux Date: Wed, 14 Sep 2022 20:57:03 -0700 Subject: [PATCH] Remove ChemMasterSystem debug assertions (#11288) --- .../Chemistry/EntitySystems/ChemMasterSystem.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Content.Server/Chemistry/EntitySystems/ChemMasterSystem.cs b/Content.Server/Chemistry/EntitySystems/ChemMasterSystem.cs index e50bc008e0..c402088685 100644 --- a/Content.Server/Chemistry/EntitySystems/ChemMasterSystem.cs +++ b/Content.Server/Chemistry/EntitySystems/ChemMasterSystem.cs @@ -196,13 +196,13 @@ namespace Content.Server.Chemistry.EntitySystems for (var i = 0; i < message.Number; i++) { var item = Spawn(PillPrototypeId, Transform(container).Coordinates); - DebugTools.Assert(_storageSystem.Insert(container, item, storage)); + _storageSystem.Insert(container, item, storage); Label(item, message.Label); var itemSolution = _solutionContainerSystem.EnsureSolution(item, SharedChemMaster.PillSolutionName); - DebugTools.Assert(_solutionContainerSystem.TryAddSolution( - item, itemSolution, withdrawal.SplitSolution(message.Dosage))); + _solutionContainerSystem.TryAddSolution( + item, itemSolution, withdrawal.SplitSolution(message.Dosage)); if (TryComp(item, out var spriteComp)) spriteComp.LayerSetState(0, "pill" + (chemMaster.PillType + 1)); @@ -232,8 +232,8 @@ namespace Content.Server.Chemistry.EntitySystems return; Label(container, message.Label); - DebugTools.Assert(_solutionContainerSystem.TryAddSolution( - container, solution, withdrawal)); + _solutionContainerSystem.TryAddSolution( + container, solution, withdrawal); UpdateUiState(chemMaster); ClickSound(chemMaster);