From 54ea493bfecddd163222fc149b144a71f3e42d18 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Sat, 9 Jul 2022 20:53:18 +1200 Subject: [PATCH] Fix drink system double-refunding solutions on failure (#9569) --- Content.Server/Nutrition/EntitySystems/DrinkSystem.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs b/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs index 2a17f22c3c..1a6dea6443 100644 --- a/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs +++ b/Content.Server/Nutrition/EntitySystems/DrinkSystem.cs @@ -315,7 +315,6 @@ namespace Content.Server.Nutrition.EntitySystems // All stomach are full or can't handle whatever solution we have. if (firstStomach == null) { - _solutionContainerSystem.TryAddSolution(args.Drink.Owner, args.DrinkSolution, drained); _popupSystem.PopupEntity(Loc.GetString("drink-component-try-use-drink-had-enough"), uid, Filter.Entities(uid));