From b6af2dbaf817aa4281a09386e10d2e8e67a3a673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=81da?= Date: Tue, 3 Jun 2025 10:55:15 -0500 Subject: [PATCH] Loc fix for emote guidebook (#38020) Loc fix --- Content.Shared/EntityEffects/Effects/Emote.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Shared/EntityEffects/Effects/Emote.cs b/Content.Shared/EntityEffects/Effects/Emote.cs index 08cf58c39a..494dc502f5 100644 --- a/Content.Shared/EntityEffects/Effects/Emote.cs +++ b/Content.Shared/EntityEffects/Effects/Emote.cs @@ -38,6 +38,7 @@ public sealed partial class Emote : EventEntityEffect if (!ShowInGuidebook) return null; // JUSTIFICATION: Emoting is mostly flavor, so same reason popup messages are not in here. - return Loc.GetString("reagent-effect-guidebook-emote", ("chance", Probability), ("emote", EmoteId)); + var emotePrototype = prototype.Index(EmoteId); + return Loc.GetString("reagent-effect-guidebook-emote", ("chance", Probability), ("emote", Loc.GetString(emotePrototype.Name))); } }