From 1e183ca5a826889a0dc85a6325c281a49c5e2853 Mon Sep 17 00:00:00 2001 From: FL-OZ Date: Fri, 22 May 2020 16:23:18 -0500 Subject: [PATCH] GLOBAL SLUUUUURRRRP --- .../GameObjects/Components/Nutrition/DrinkComponent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Nutrition/DrinkComponent.cs b/Content.Server/GameObjects/Components/Nutrition/DrinkComponent.cs index 6fa85b8c52..8c611bb3f3 100644 --- a/Content.Server/GameObjects/Components/Nutrition/DrinkComponent.cs +++ b/Content.Server/GameObjects/Components/Nutrition/DrinkComponent.cs @@ -9,6 +9,7 @@ using Content.Shared.Interfaces; using Content.Shared.Maths; using Robust.Server.GameObjects; using Robust.Server.GameObjects.EntitySystems; +using Robust.Shared.Audio; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.IoC; @@ -126,7 +127,7 @@ namespace Content.Server.GameObjects.Components.Nutrition { var entitySystemManager = IoCManager.Resolve(); var audioSystem = entitySystemManager.GetEntitySystem(); - audioSystem.Play(_useSound); + audioSystem.Play(_useSound, Owner, AudioParams.Default.WithVolume(-2f)); user.PopupMessage(user, _localizationManager.GetString("Slurp")); } }