From cd93711ba60dc251d99df37bf6638972730ab392 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Wed, 14 Oct 2020 11:24:41 +0200 Subject: [PATCH] Fix missing localization for gasping You can now gasp in multiple languages at once --- .../Components/Body/Behavior/LungBehaviorComponent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Body/Behavior/LungBehaviorComponent.cs b/Content.Server/GameObjects/Components/Body/Behavior/LungBehaviorComponent.cs index 7d1beb0663..e9c6238ef7 100644 --- a/Content.Server/GameObjects/Components/Body/Behavior/LungBehaviorComponent.cs +++ b/Content.Server/GameObjects/Components/Body/Behavior/LungBehaviorComponent.cs @@ -7,6 +7,7 @@ using Content.Server.Utility; using Content.Shared.Atmos; using Content.Shared.GameObjects.Components.Body.Behavior; using Robust.Shared.GameObjects; +using Robust.Shared.Localization; using Robust.Shared.Serialization; using Robust.Shared.ViewVariables; @@ -45,7 +46,7 @@ namespace Content.Server.GameObjects.Components.Body.Behavior public override void Gasp() { - Owner.PopupMessageEveryone("Gasp"); + Owner.PopupMessageEveryone(Loc.GetString("Gasp")); Inhale(CycleDelay); }